Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008747, allocations: 90.14 kB / 17.63 MB, free: 5.719 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.0008723/0.0008724, allocations: 184 kB / 18.52 MB, free: 5.172 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.499/1.499, allocations: 223.2 MB / 242.5 MB, free: 328 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.2396/0.2396, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003385, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003084/0.1514, allocations: 2.034 MB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.153, allocations: 0.7289 MB / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.1533, allocations: 7.938 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1535, allocations: 31.72 kB / 475 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.154, allocations: 87.48 kB / 475.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1544, allocations: 71.92 kB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.1549, allocations: 306.8 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.1552, allocations: 80.98 kB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1556, allocations: 111.6 kB / 475.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1559, allocations: 131.4 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.1559, allocations: 16 kB / 475.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.156, allocations: 16 kB / 475.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.1561, allocations: 51.77 kB / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1562, allocations: 73.58 kB / 475.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.1565, allocations: 267.4 kB / 476.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1565, allocations: 0 / 476.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1565, allocations: 0 / 476.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1565, allocations: 0 / 476.2 MB, free: 9.703 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001154/0.1577, allocations: 0.5728 MB / 476.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1578, allocations: 12.03 kB / 476.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.1578, allocations: 27.62 kB / 476.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1581, allocations: 254.5 kB / 477 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1582, allocations: 16.56 kB / 477.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.1582, allocations: 28 kB / 477.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.1588, allocations: 252.8 kB / 477.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1588, allocations: 0 / 477.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1588, allocations: 15.94 kB / 477.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1588, allocations: 4 kB / 477.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.1593, allocations: 242.1 kB / 477.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1607, allocations: 0.8831 MB / 478.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.1612, allocations: 305.5 kB / 478.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.1615, allocations: 156.7 kB / 478.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.1616, allocations: 7.984 kB / 478.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1616, allocations: 30.56 kB / 479 MB, free: 6.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1616, allocations: 0 / 479 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003935/0.1655, allocations: 1.273 MB / 480.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1656, allocations: 63.36 kB / 480.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1659, allocations: 213 kB / 480.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1659, allocations: 29.7 kB / 480.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.166, allocations: 157.1 kB / 480.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.1661, allocations: 102.5 kB / 480.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1662, allocations: 12 kB / 480.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1663, allocations: 330.8 kB / 481.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1666, allocations: 95.95 kB / 481.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1668, allocations: 121.9 kB / 481.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1671, allocations: 121.3 kB / 481.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1671, allocations: 0 / 481.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001676/0.1688, allocations: 0.5453 MB / 482 MB, free: 3.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1688, allocations: 8 kB / 482 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1688, allocations: 0 / 482 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.1703, allocations: 315.1 kB / 482.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1704, allocations: 31.98 kB / 482.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007124/0.1776, allocations: 6.325 MB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1779, allocations: 35.86 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1779, allocations: 8 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.1781, allocations: 137.8 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.1782, allocations: 27.67 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.1799, allocations: 0.5629 MB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1799, allocations: 4 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.18, allocations: 4 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.18, allocations: 0 / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1805, allocations: 357.2 kB / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1805, allocations: 0 / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1806, allocations: 23.92 kB / 489.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.1821, allocations: 319.1 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1821, allocations: 4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/0.1894, allocations: 6.354 MB / 496.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1895, allocations: 3.938 kB / 496.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.1912, allocations: 0.6274 MB / 497.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1913, allocations: 104.8 kB / 497.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1914, allocations: 8 kB / 497.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1916, allocations: 12 kB / 497.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.1917, allocations: 35.89 kB / 497.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1917, allocations: 7.984 kB / 497.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.192, allocations: 156.5 kB / 497.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.192, allocations: 4 kB / 497.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00063/0.1926, allocations: 119.8 kB / 497.6 MB, free: 2.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.1928, allocations: 99.25 kB / 497.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1941, allocations: 0.7528 MB / 498.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1941, allocations: 0 / 498.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.1954, allocations: 0.725 MB / 499.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1958, allocations: 24.39 kB / 499.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1971, allocations: 0.6734 MB / 499.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.1978, allocations: 0.7717 MB / 0.4889 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1978, allocations: 11.44 kB / 0.4889 GB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1978, allocations: 4 kB / 0.4889 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01427/0.2121, allocations: 7.965 MB / 0.4967 GB, free: 7.57 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShapeCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShapeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShapeCalcHelperMain.o] Error 1