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.001596/0.001596, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001657/0.001657, allocations: 215.8 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.76/1.76, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2469/0.2469, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 75.89 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1459, allocations: 61.03 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003801/0.1497, allocations: 1.848 MB / 0.5184 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1509, allocations: 0.5658 MB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.151, allocations: 8 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1512, allocations: 31.72 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1514, allocations: 31.7 kB / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1516, allocations: 47.89 kB / 0.5191 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1518, allocations: 151.4 kB / 0.5192 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.152, allocations: 45.59 kB / 0.5193 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.1522, allocations: 59.84 kB / 0.5193 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1523, allocations: 55.7 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.1523, allocations: 16 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/0.1524, allocations: 12 kB / 0.5194 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.1524, allocations: 35.84 kB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.1525, allocations: 59.72 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1528, allocations: 155.3 kB / 0.5196 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1528, allocations: 4 kB / 0.5196 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1528, allocations: 0 / 0.5196 GB, free: 3.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1528, allocations: 0 / 0.5196 GB, free: 3.555 MB / 398.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.0008129/0.1536, allocations: 370 kB / 0.52 GB, free: 3.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1537, allocations: 8.031 kB / 0.52 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1537, allocations: 20.83 kB / 0.52 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.1541, allocations: 146.3 kB / 0.5202 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1541, allocations: 8.656 kB / 0.5202 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1542, allocations: 12.38 kB / 0.5202 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.1546, allocations: 136.2 kB / 0.5203 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1546, allocations: 3.938 kB / 0.5203 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1546, allocations: 12 kB / 0.5203 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1546, allocations: 4 kB / 0.5203 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1549, allocations: 108.1 kB / 0.5204 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.156, allocations: 0.5048 MB / 0.5209 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.1562, allocations: 74.55 kB / 0.521 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1563, allocations: 28.97 kB / 0.521 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1564, allocations: 4 kB / 0.521 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1564, allocations: 34.56 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1564, allocations: 0 / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004121/0.1568, allocations: 105.8 kB / 0.5212 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1569, allocations: 59.34 kB / 0.5212 GB, free: 1.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.157, allocations: 142.1 kB / 0.5214 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.157, allocations: 25.7 kB / 0.5214 GB, free: 1.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1571, allocations: 143.7 kB / 0.5215 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1572, allocations: 23.84 kB / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1572, allocations: 21.72 kB / 0.5216 GB, free: 1.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1574, allocations: 330.7 kB / 0.5219 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1575, allocations: 36.03 kB / 0.5219 GB, free: 1.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1576, allocations: 60.27 kB / 0.522 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1578, allocations: 92.2 kB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1578, allocations: 0 / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/0.1581, allocations: 121.5 kB / 0.5222 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1581, allocations: 4 kB / 0.5222 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1581, allocations: 4 kB / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1582, allocations: 128 / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1583, allocations: 31.98 kB / 0.5222 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1583, allocations: 4 kB / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1584, allocations: 19.81 kB / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1584, allocations: 7.938 kB / 0.5222 GB, free: 0.6719 MB / 398.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.0001359/0.1585, allocations: 125.8 kB / 0.5224 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1586, allocations: 7.953 kB / 0.5224 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.1586, allocations: 12.39 kB / 0.5224 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1586, allocations: 4 kB / 0.5224 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1586, allocations: 0 / 0.5224 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1586, allocations: 4 kB / 0.5224 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1589, allocations: 141.2 kB / 0.5225 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1589, allocations: 0 / 0.5225 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.1589, allocations: 15.98 kB / 0.5225 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1589, allocations: 3.984 kB / 0.5225 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.159, allocations: 0 / 0.5225 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.159, allocations: 0 / 0.5225 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.159, allocations: 0 / 0.5225 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.1593, allocations: 191.3 kB / 0.5227 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.1593, allocations: 11.95 kB / 0.5227 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1593, allocations: 0 / 0.5227 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.1594, allocations: 7.984 kB / 0.5227 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.1595, allocations: 0 / 0.5227 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.1595, allocations: 8.062 kB / 0.5228 GB, free: 96 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1596, allocations: 114.7 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1598, allocations: 27.89 kB / 0.5229 GB, free: 15.96 MB / 414.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.0001155/0.16, allocations: 95.19 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1602, allocations: 79.83 kB / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1602, allocations: 0 / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.1603, allocations: 27.97 kB / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1606, allocations: 4 kB / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1612, allocations: 268.4 kB / 0.5233 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.587e-05/0.1613, allocations: 94.27 kB / 0.5234 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.1613, allocations: 7.984 kB / 0.5234 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1614, allocations: 11.44 kB / 0.5235 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1614, allocations: 4 kB / 0.5235 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.003781/0.1652, allocations: 0.7732 MB / 0.5242 GB, free: 14.55 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.45413383282721]