Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008315/0.0008318, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009868/0.0009871, allocations: 201 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 63.48 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005169/0.1437, allocations: 4.515 MB / 486.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1468, allocations: 1.507 MB / 488.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1471, allocations: 20 kB / 488.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.1477, allocations: 179 kB / 488.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000796/0.1485, allocations: 254.4 kB / 488.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.1495, allocations: 415.1 kB / 489 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.1505, allocations: 0.7308 MB / 489.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.1531, allocations: 1.305 MB / 491 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.1536, allocations: 274.9 kB / 491.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.1542, allocations: 394.4 kB / 491.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.1543, allocations: 36 kB / 491.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.1547, allocations: 155.9 kB / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1548, allocations: 135.4 kB / 492 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.155, allocations: 169.3 kB / 492.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.156, allocations: 0.9038 MB / 493.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1561, allocations: 0 / 493.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1561, allocations: 0 / 493.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1561, allocations: 0 / 493.1 MB, free: 10.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003211/0.1593, allocations: 1.217 MB / 494.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1594, allocations: 8.031 kB / 494.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.1609, allocations: 242.8 kB / 494.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1611, allocations: 254.6 kB / 494.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1612, allocations: 78 kB / 494.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1614, allocations: 99.91 kB / 495 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.163, allocations: 0.9243 MB / 495.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.163, allocations: 7.938 kB / 495.9 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.1631, allocations: 43.98 kB / 495.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1632, allocations: 24 kB / 496 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1644, allocations: 0.722 MB / 496.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.1701, allocations: 4.107 MB / 0.4891 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.1736, allocations: 3.366 MB / 0.4924 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.1741, allocations: 294.1 kB / 0.4926 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.1743, allocations: 174.5 kB / 0.4928 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.1743, allocations: 50.83 kB / 0.4928 GB, free: 13.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 5.029e-06/0.1744, allocations: 7.984 kB / 0.4929 GB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002753/0.1771, allocations: 1.329 MB / 0.4942 GB, free: 12.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.1773, allocations: 136.6 kB / 0.4943 GB, free: 12.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.1777, allocations: 318.8 kB / 0.4946 GB, free: 11.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1777, allocations: 41.64 kB / 0.4946 GB, free: 11.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.178, allocations: 398.4 kB / 0.495 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.1782, allocations: 228.7 kB / 0.4952 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.1783, allocations: 20 kB / 0.4952 GB, free: 11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1784, allocations: 354.7 kB / 0.4956 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.1788, allocations: 193.9 kB / 0.4958 GB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1794, allocations: 404.6 kB / 0.4962 GB, free: 9.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.1798, allocations: 260.7 kB / 0.4964 GB, free: 9.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1798, allocations: 0 / 0.4964 GB, free: 9.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001407/0.1813, allocations: 0.8785 MB / 0.4973 GB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1813, allocations: 8 kB / 0.4973 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1813, allocations: 7.938 kB / 0.4973 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/0.182, allocations: 219.5 kB / 0.4975 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.1824, allocations: 139.8 kB / 0.4976 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.1884, allocations: 6.233 MB / 0.5037 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.189, allocations: 87.02 kB / 0.5038 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.189, allocations: 44.05 kB / 0.5038 GB, free: 1.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.1894, allocations: 213.7 kB / 0.504 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1895, allocations: 43.53 kB / 0.5041 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.1907, allocations: 0.6909 MB / 0.5047 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1908, allocations: 8 kB / 0.5048 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1908, allocations: 4 kB / 0.5048 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1908, allocations: 3.984 kB / 0.5048 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3196/0.5104, allocations: 1.554 MB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5104, allocations: 2.719 kB / 0.5063 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.5107, allocations: 71.16 kB / 0.5064 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000598/0.5113, allocations: 213.2 kB / 0.5066 GB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.5113, allocations: 20.28 kB / 0.5066 GB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.516, allocations: 6.213 MB / 0.5126 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.516, allocations: 1.969 kB / 0.5126 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.5175, allocations: 1.191 MB / 0.5138 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5177, allocations: 124.4 kB / 0.5139 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.5177, allocations: 15.36 kB / 0.5139 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5181, allocations: 14.42 kB / 0.514 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5182, allocations: 63.94 kB / 0.514 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5182, allocations: 18.11 kB / 0.514 GB, free: 33.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002961/0.5185, allocations: 215.7 kB / 0.5142 GB, free: 33.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5185, allocations: 0 / 0.5142 GB, free: 33.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5198, allocations: 282.8 kB / 0.5145 GB, free: 33.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002588/0.52, allocations: 135.4 kB / 0.5146 GB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.5217, allocations: 1.082 MB / 0.5157 GB, free: 32.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5217, allocations: 2.781 kB / 0.5157 GB, free: 32.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.5225, allocations: 0.7839 MB / 0.5165 GB, free: 32.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.5231, allocations: 44.27 kB / 0.5165 GB, free: 32.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.5254, allocations: 1.587 MB / 0.5181 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.526, allocations: 0.9091 MB / 0.5189 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5261, allocations: 44.12 kB / 0.519 GB, free: 30.54 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5261, allocations: 1.062 kB / 0.519 GB, free: 30.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02388/0.55, allocations: 19.36 MB / 0.5379 GB, free: 21.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o] Error 1