Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 67.91 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.173, allocations: 65.99 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004125/0.1771, allocations: 1.941 MB / 0.5577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1785, allocations: 0.6076 MB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1786, allocations: 7.938 kB / 0.5583 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1788, allocations: 39.7 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.179, allocations: 35.7 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1792, allocations: 39.95 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1794, allocations: 147.5 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1796, allocations: 53.5 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1798, allocations: 55.8 kB / 0.5587 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1799, allocations: 67.69 kB / 0.5588 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.1799, allocations: 12 kB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1799, allocations: 12 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.18, allocations: 27.92 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.1801, allocations: 67.67 kB / 0.5589 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1803, allocations: 163.2 kB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1803, allocations: 8 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1804, allocations: 3.938 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1804, allocations: 4 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007595/0.1811, allocations: 447 kB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1812, allocations: 8.031 kB / 0.5595 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.1812, allocations: 16.84 kB / 0.5595 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1815, allocations: 208.1 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1815, allocations: 12.66 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1816, allocations: 12.38 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1819, allocations: 144.1 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1819, allocations: 0 / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1819, allocations: 4 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1819, allocations: 4 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1823, allocations: 104.8 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.1834, allocations: 0.6068 MB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1837, allocations: 62.61 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1838, allocations: 40.91 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1838, allocations: 0 / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1838, allocations: 30.56 kB / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1838, allocations: 0 / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004651/0.1843, allocations: 105.6 kB / 0.5608 GB, free: 116 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1843, allocations: 55.41 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1845, allocations: 162.2 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1846, allocations: 25.7 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1847, allocations: 135.8 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1847, allocations: 15.91 kB / 0.5612 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1847, allocations: 29.66 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1849, allocations: 314.8 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.185, allocations: 39.84 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1852, allocations: 64.27 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1854, allocations: 100.1 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1854, allocations: 0 / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003242/0.1858, allocations: 129.5 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1858, allocations: 4 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1858, allocations: 0 / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1858, allocations: 7.984 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1859, allocations: 32.3 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.186, allocations: 0 / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1861, allocations: 23.88 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1861, allocations: 4 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.1862, allocations: 124 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1862, allocations: 7.953 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1863, allocations: 12.31 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1863, allocations: 3.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1863, allocations: 4 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1863, allocations: 0 / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1866, allocations: 209.6 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1866, allocations: 0 / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.1867, allocations: 15.98 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1867, allocations: 0 / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1867, allocations: 4 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1867, allocations: 3.938 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1867, allocations: 0 / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1871, allocations: 187.4 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.1872, allocations: 92.98 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1872, allocations: 0 / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1873, allocations: 11.94 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1873, allocations: 3.984 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1873, allocations: 4 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1874, allocations: 118.2 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1874, allocations: 0 / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1877, allocations: 23.95 kB / 0.5627 GB, free: 14 MB / 430.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.1878, allocations: 91.25 kB / 0.5627 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.1881, allocations: 67.89 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1881, allocations: 0 / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1882, allocations: 32.23 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1885, allocations: 11.92 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.1891, allocations: 279.6 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1895, allocations: 0.7119 MB / 0.5638 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.1895, allocations: 4.672 kB / 0.5638 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.1896, allocations: 11.44 kB / 0.5638 GB, free: 12.74 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1896, allocations: 0 / 0.5638 GB, free: 12.74 MB / 430.1 MB Notification: Performance of Templates: time 0.003887/0.1934, allocations: 0.7371 MB / 0.5646 GB, free: 12.01 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3408899530768394]