Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.00098, allocations: 87.77 kB / 17.63 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 184.7 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 242.5 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004017/0.1481, allocations: 2.989 MB / 475.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1495, allocations: 0.756 MB / 475.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.1498, allocations: 11.94 kB / 475.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.15, allocations: 51.61 kB / 476 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1503, allocations: 107.1 kB / 476.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1507, allocations: 91.91 kB / 476.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.1513, allocations: 486.3 kB / 476.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.1517, allocations: 182.6 kB / 476.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.152, allocations: 175.3 kB / 477 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1523, allocations: 191.1 kB / 477.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.1524, allocations: 24 kB / 477.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.1525, allocations: 28 kB / 477.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.1526, allocations: 83.66 kB / 477.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1527, allocations: 113.5 kB / 477.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1532, allocations: 423 kB / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1532, allocations: 0 / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1532, allocations: 0 / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1532, allocations: 0 / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001284/0.1545, allocations: 0.6939 MB / 478.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1545, allocations: 8.031 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.1546, allocations: 59.36 kB / 478.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.155, allocations: 304.3 kB / 478.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.1551, allocations: 37 kB / 478.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.1552, allocations: 43.98 kB / 479 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.1561, allocations: 478.9 kB / 479.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1561, allocations: 3.984 kB / 479.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.1561, allocations: 20 kB / 479.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1562, allocations: 12 kB / 479.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.157, allocations: 331.8 kB / 479.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1596, allocations: 1.701 MB / 481.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.1603, allocations: 244.9 kB / 481.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.1606, allocations: 137.7 kB / 481.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1607, allocations: 7.984 kB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1607, allocations: 38.81 kB / 481.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.1607, allocations: 0 / 481.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003159/0.1639, allocations: 1.363 MB / 483.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.164, allocations: 81.11 kB / 483.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.1644, allocations: 258.6 kB / 483.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.1645, allocations: 29.7 kB / 483.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1647, allocations: 263.4 kB / 483.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1649, allocations: 122.2 kB / 484 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1649, allocations: 11.94 kB / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.1652, allocations: 338.8 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.1655, allocations: 108.8 kB / 484.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1658, allocations: 212.5 kB / 484.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.1662, allocations: 144.9 kB / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1662, allocations: 4 kB / 484.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008248/0.167, allocations: 424.3 kB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.167, allocations: 8 kB / 485.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1671, allocations: 4 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.1672, allocations: 28.84 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.1677, allocations: 128 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.1695, allocations: 1.332 MB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1698, allocations: 24.05 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1698, allocations: 23.98 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002604/0.1701, allocations: 165.7 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.1702, allocations: 31.58 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.1703, allocations: 42.17 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1703, allocations: 4 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1703, allocations: 0 / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1703, allocations: 4 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1716, allocations: 0.7154 MB / 487.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.1716, allocations: 8.062 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.172, allocations: 99.81 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.911e-05/0.1721, allocations: 24.84 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.1722, allocations: 11.98 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.1737, allocations: 1.324 MB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.1738, allocations: 7.984 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1749, allocations: 0.6098 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.1751, allocations: 124.8 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1752, allocations: 7.953 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1754, allocations: 24.22 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1756, allocations: 23.95 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1756, allocations: 12 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1759, allocations: 182 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1759, allocations: 0 / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006327/0.1765, allocations: 92 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.1768, allocations: 107.2 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.178, allocations: 416.3 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.178, allocations: 0 / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.1785, allocations: 255.3 kB / 491.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.1792, allocations: 44.53 kB / 491.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1814, allocations: 1.179 MB / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.1821, allocations: 0.8113 MB / 493.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1822, allocations: 31.42 kB / 493.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1822, allocations: 0 / 493.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of Templates: time 0.009135/0.1913, allocations: 5.894 MB / 499 MB, free: 1.902 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.o] Error 1