Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001619/0.001619, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.00195/0.00195, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9711/0.9711, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1475/0.1475, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 299 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.707e-05, allocations: 2.312 kB / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00265/0.002677, allocations: 1.927 MB / 301 MB, free: 308 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1644/0.1671, allocations: 0.5873 MB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1673, allocations: 2.25 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1675, allocations: 36.56 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1676, allocations: 36.98 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1678, allocations: 47.59 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.168, allocations: 145.5 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1681, allocations: 46.08 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1684, allocations: 93.7 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.1685, allocations: 48.91 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1685, allocations: 13.81 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.1685, allocations: 12.88 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.1686, allocations: 35 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.1686, allocations: 42.77 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1688, allocations: 105.1 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1688, allocations: 0 / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1688, allocations: 0.7812 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1688, allocations: 1.094 kB / 302.2 MB, free: 19.17 MB / 282.7 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.0004423/0.1693, allocations: 345.9 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1693, allocations: 9.656 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1693, allocations: 25.09 kB / 302.6 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1695, allocations: 128 kB / 302.7 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1695, allocations: 13.56 kB / 302.7 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1695, allocations: 12.12 kB / 302.7 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1697, allocations: 115.4 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1697, allocations: 2.969 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1697, allocations: 4.688 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1697, allocations: 7.375 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.1698, allocations: 33.42 kB / 302.9 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.1704, allocations: 455.2 kB / 303.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1705, allocations: 37.42 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.1705, allocations: 13.62 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1705, allocations: 1 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.1705, allocations: 34.8 kB / 303.4 MB, free: 18.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.1705, allocations: 0 / 303.4 MB, free: 18.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000134/0.1707, allocations: 50.88 kB / 303.5 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.1707, allocations: 56.38 kB / 303.5 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.1708, allocations: 151.8 kB / 303.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.1708, allocations: 26.36 kB / 303.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1708, allocations: 133.4 kB / 303.8 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.1708, allocations: 18.02 kB / 303.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1709, allocations: 26.44 kB / 303.9 MB, free: 17.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.1709, allocations: 321.1 kB / 304.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.1709, allocations: 7.891 kB / 304.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.171, allocations: 42.69 kB / 304.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.1711, allocations: 64.52 kB / 304.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1711, allocations: 1.188 kB / 304.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001044/0.1712, allocations: 75.55 kB / 304.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1712, allocations: 9.375 kB / 304.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1712, allocations: 1.625 kB / 304.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1712, allocations: 4.297 kB / 304.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.1713, allocations: 27.09 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1713, allocations: 3.469 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.1714, allocations: 13.92 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1714, allocations: 5.141 kB / 304.4 MB, free: 17.52 MB / 282.7 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 5.031e-05/0.1714, allocations: 120.3 kB / 304.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1714, allocations: 5.578 kB / 304.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.1715, allocations: 10.94 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1715, allocations: 1.281 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1715, allocations: 0.7031 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1715, allocations: 1.281 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1716, allocations: 92.42 kB / 304.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1716, allocations: 1.422 kB / 304.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.1716, allocations: 21.95 kB / 304.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1716, allocations: 0.6094 kB / 304.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.1716, allocations: 1.062 kB / 304.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1716, allocations: 5 kB / 304.7 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1716, allocations: 1.641 kB / 304.7 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.1717, allocations: 140 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.1717, allocations: 11.56 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.1717, allocations: 1.906 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.1718, allocations: 7.328 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1718, allocations: 4.281 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.1718, allocations: 5.156 kB / 304.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.1719, allocations: 29.8 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1719, allocations: 0 / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.172, allocations: 36.7 kB / 304.9 MB, free: 17.14 MB / 282.7 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 7.941e-05/0.1721, allocations: 76.23 kB / 305 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.1722, allocations: 37.22 kB / 305 MB, free: 17.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.1722, allocations: 1.094 kB / 305 MB, free: 17.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.1722, allocations: 17.34 kB / 305 MB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.1724, allocations: 4.281 kB / 305 MB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.1728, allocations: 254.3 kB / 305.3 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.1728, allocations: 68.36 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1729, allocations: 4.75 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1729, allocations: 59.55 kB / 305.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1729, allocations: 0 / 305.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of Templates: time 0.002958/0.1759, allocations: 0.6729 MB / 306.1 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1975576439872384]