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.0009871/0.0009871, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001229/0.001229, allocations: 169 kB / 24.14 MB, free: 360 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.9836/0.9836, allocations: 158.6 MB / 186 MB, free: 2.758 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.1358/0.1358, allocations: 32.38 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 9.61e-07/9.61e-07, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.958e-05, allocations: 6.25 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002638/0.002658, allocations: 1.954 MB / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1418, allocations: 0.5915 MB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.142, allocations: 2.5 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1421, allocations: 37.58 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1423, allocations: 37.98 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1425, allocations: 47.69 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1426, allocations: 152.3 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1428, allocations: 42.83 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1429, allocations: 90.05 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.143, allocations: 48.53 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1431, allocations: 13.94 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.1431, allocations: 13.44 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.1431, allocations: 31.91 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.1431, allocations: 43.94 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1433, allocations: 111.3 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1433, allocations: 2.062 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1433, allocations: 0 / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1433, allocations: 0.5625 kB / 302.3 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.0003517/0.1437, allocations: 345 kB / 302.6 MB, free: 18.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1437, allocations: 9.688 kB / 302.6 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1437, allocations: 21.05 kB / 302.6 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1439, allocations: 134 kB / 302.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1439, allocations: 12.39 kB / 302.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1439, allocations: 12.41 kB / 302.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1441, allocations: 112.5 kB / 302.9 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1441, allocations: 0.8438 kB / 302.9 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1441, allocations: 6.188 kB / 302.9 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1441, allocations: 7.562 kB / 302.9 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.727e-05/0.1441, allocations: 32.27 kB / 303 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.1446, allocations: 452 kB / 303.4 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1447, allocations: 38.56 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.1448, allocations: 17.12 kB / 303.5 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1448, allocations: 1.875 kB / 303.5 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.1448, allocations: 32.75 kB / 303.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.1448, allocations: 0.5625 kB / 303.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000115/0.1449, allocations: 55.39 kB / 303.5 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.1449, allocations: 53.12 kB / 303.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.145, allocations: 147.2 kB / 303.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.145, allocations: 25.7 kB / 303.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1451, allocations: 134.1 kB / 303.9 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.1451, allocations: 21.88 kB / 303.9 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1451, allocations: 28.83 kB / 303.9 MB, free: 17.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.1451, allocations: 320.7 kB / 304.3 MB, free: 17.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.1452, allocations: 11.03 kB / 304.3 MB, free: 17.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1452, allocations: 40.06 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.1453, allocations: 59.09 kB / 304.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1453, allocations: 3.438 kB / 304.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.784e-05/0.1454, allocations: 78.53 kB / 304.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1454, allocations: 5.125 kB / 304.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1454, allocations: 1.812 kB / 304.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1454, allocations: 6.531 kB / 304.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1455, allocations: 23.86 kB / 304.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.1455, allocations: 1.188 kB / 304.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.1455, allocations: 19.17 kB / 304.5 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1455, allocations: 3.984 kB / 304.5 MB, free: 17.51 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 4.566e-05/0.1456, allocations: 119.5 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1456, allocations: 5.531 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.1456, allocations: 11.94 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1456, allocations: 0.7031 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1456, allocations: 1.406 kB / 304.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1456, allocations: 4.609 kB / 304.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.002e-05/0.1457, allocations: 92.41 kB / 304.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1457, allocations: 2.375 kB / 304.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1458, allocations: 17.34 kB / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1458, allocations: 2.594 kB / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.1458, allocations: 0 / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1458, allocations: 1.25 kB / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1458, allocations: 0 / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.1459, allocations: 148 kB / 304.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.1459, allocations: 11.41 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1459, allocations: 9.625 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.1459, allocations: 3.422 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.146, allocations: 7.938 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.146, allocations: 1.156 kB / 304.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.146, allocations: 29.36 kB / 305 MB, free: 17.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.146, allocations: 1.062 kB / 305 MB, free: 17.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.1461, allocations: 30.58 kB / 305 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 6.837e-05/0.1462, allocations: 73.55 kB / 305.1 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.1463, allocations: 40.73 kB / 305.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1463, allocations: 1.031 kB / 305.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.1463, allocations: 19.56 kB / 305.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1465, allocations: 9.922 kB / 305.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.1469, allocations: 243.6 kB / 305.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.1469, allocations: 67.89 kB / 305.4 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1469, allocations: 6.938 kB / 305.4 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.147, allocations: 56.06 kB / 305.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of SimCode: time 1.253e-06/0.147, allocations: 0 / 305.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of Templates: time 0.002578/0.1495, allocations: 0.6724 MB / 306.2 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 -s gbode -gbm=radauIIA3 -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: 2.900213825982064]