Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 89.38 kB / 16.67 MB, free: 6.59 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.001248/0.001249, allocations: 180.8 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2564/0.2564, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005253, allocations: 17.88 kB / 385.2 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1201, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004294/0.1244, allocations: 4.791 MB / 448.9 MB, free: 348 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1276, allocations: 1.601 MB / 450.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.1282, allocations: 16 kB / 450.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007369/0.129, allocations: 247 kB / 450.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.1301, allocations: 258.3 kB / 451 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1315, allocations: 0.6194 MB / 451.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1327, allocations: 0.7658 MB / 452.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.1355, allocations: 1.419 MB / 453.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.1361, allocations: 282.7 kB / 454.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.1367, allocations: 410.2 kB / 454.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1369, allocations: 40 kB / 454.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.1374, allocations: 151.8 kB / 454.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1375, allocations: 139.3 kB / 454.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.1379, allocations: 403.7 kB / 455.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.139, allocations: 0.884 MB / 456.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.139, allocations: 0 / 456.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.139, allocations: 0 / 456.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.139, allocations: 0 / 456.1 MB, free: 9.082 MB / 334.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.003323/0.1423, allocations: 1.198 MB / 457.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1424, allocations: 8.031 kB / 457.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.1439, allocations: 227.7 kB / 457.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1442, allocations: 259.8 kB / 457.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1443, allocations: 86.55 kB / 457.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.1446, allocations: 99.94 kB / 458 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1462, allocations: 0.9321 MB / 458.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.1462, allocations: 7.906 kB / 458.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.1463, allocations: 40 kB / 458.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.1463, allocations: 24 kB / 459 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.1476, allocations: 0.7262 MB / 459.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005253/0.1529, allocations: 3.96 MB / 463.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.1559, allocations: 3.378 MB / 467 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.1563, allocations: 296.4 kB / 467.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1565, allocations: 89.42 kB / 467.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.1565, allocations: 38.89 kB / 467.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.1565, allocations: 0 / 467.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002778/0.1593, allocations: 1.352 MB / 468.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.1594, allocations: 140.6 kB / 468.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.1598, allocations: 314.8 kB / 469.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1598, allocations: 37.7 kB / 469.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.1601, allocations: 402.3 kB / 469.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.1603, allocations: 232.7 kB / 469.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.1604, allocations: 69.69 kB / 470 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1606, allocations: 354.7 kB / 470.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.161, allocations: 201.9 kB / 470.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.1615, allocations: 400.6 kB / 470.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.1624, allocations: 0.6232 MB / 471.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1624, allocations: 4 kB / 471.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001461/0.1639, allocations: 0.881 MB / 472.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1639, allocations: 8 kB / 472.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1639, allocations: 8 kB / 472.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.1646, allocations: 231.6 kB / 472.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.1651, allocations: 139.8 kB / 472.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.1706, allocations: 6.233 MB / 479 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.1711, allocations: 91.05 kB / 479.1 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.1712, allocations: 35.94 kB / 479.1 MB, free: 20 kB / 350.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.1716, allocations: 227 kB / 479.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1717, allocations: 47.42 kB / 479.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.173, allocations: 0.6949 MB / 480.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.173, allocations: 4 kB / 480.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.173, allocations: 8 kB / 480.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.173, allocations: 15.86 kB / 480.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.1755, allocations: 1.569 MB / 481.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1755, allocations: 0 / 481.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1758, allocations: 67.91 kB / 481.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005451/0.1763, allocations: 219.2 kB / 482 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.1764, allocations: 16 kB / 482 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005383/0.1818, allocations: 6.229 MB / 488.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1818, allocations: 0 / 488.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1834, allocations: 1.178 MB / 489.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1836, allocations: 132.4 kB / 489.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.1836, allocations: 12 kB / 489.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.184, allocations: 19.94 kB / 489.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1841, allocations: 55.98 kB / 489.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.1841, allocations: 16 kB / 489.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.1844, allocations: 221.9 kB / 489.8 MB, free: 4.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1844, allocations: 0 / 489.8 MB, free: 4.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001024/0.1854, allocations: 275.2 kB / 490.1 MB, free: 4.34 MB / 366.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002489/0.1857, allocations: 139.6 kB / 490.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1873, allocations: 1.084 MB / 491.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1873, allocations: 8.062 kB / 491.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.1882, allocations: 0.7795 MB / 492.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1889, allocations: 52.67 kB / 492.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.1912, allocations: 1.679 MB / 493.8 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.1918, allocations: 0.9111 MB / 494.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1919, allocations: 47.42 kB / 494.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1919, allocations: 0 / 494.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Templates: time 0.022/0.2139, allocations: 19.27 MB / 0.502 GB, free: 12.17 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o] Error 1