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: 100.4 kB / 20.45 MB, free: 1.383 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.00316/0.00316, allocations: 209.6 kB / 23.74 MB, free: 4.543 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.725/1.725, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2228/0.2228, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.1 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: 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.00255/0.00255, allocations: 71.23 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.128, allocations: 61.05 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.004104/0.1321, allocations: 1.828 MB / 0.5191 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1334, allocations: 0.5697 MB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1336, allocations: 4 kB / 0.5197 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1338, allocations: 39.7 kB / 0.5197 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.134, allocations: 35.7 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1342, allocations: 39.95 kB / 0.5198 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1344, allocations: 151.4 kB / 0.52 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1345, allocations: 45.59 kB / 0.52 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1347, allocations: 67.77 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1348, allocations: 55.7 kB / 0.5201 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1349, allocations: 12 kB / 0.5201 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.1349, allocations: 16 kB / 0.5201 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.1349, allocations: 27.92 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.135, allocations: 55.73 kB / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1353, allocations: 163.2 kB / 0.5204 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1353, allocations: 4 kB / 0.5204 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1353, allocations: 0 / 0.5204 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1353, allocations: 0 / 0.5204 GB, free: 3.547 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.0007244/0.136, allocations: 366 kB / 0.5207 GB, free: 3.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1361, allocations: 12.03 kB / 0.5207 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.1361, allocations: 16.84 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1364, allocations: 150.3 kB / 0.5209 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1364, allocations: 8.656 kB / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1365, allocations: 12.38 kB / 0.5209 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.1368, allocations: 140.2 kB / 0.5211 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1368, allocations: 0 / 0.5211 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1368, allocations: 8 kB / 0.5211 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1368, allocations: 0 / 0.5211 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.1371, allocations: 108.2 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1382, allocations: 0.5126 MB / 0.5217 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1385, allocations: 62.52 kB / 0.5217 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1386, allocations: 36.94 kB / 0.5218 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1386, allocations: 4 kB / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1386, allocations: 34.56 kB / 0.5218 GB, free: 1.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1386, allocations: 0 / 0.5218 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004174/0.139, allocations: 109.6 kB / 0.5219 GB, free: 1.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1391, allocations: 55.41 kB / 0.522 GB, free: 1.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1392, allocations: 138.1 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1393, allocations: 29.7 kB / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.1394, allocations: 135.7 kB / 0.5222 GB, free: 1.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1394, allocations: 23.84 kB / 0.5223 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.1394, allocations: 29.72 kB / 0.5223 GB, free: 1.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1396, allocations: 322.8 kB / 0.5226 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1397, allocations: 31.92 kB / 0.5226 GB, free: 1.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1398, allocations: 60.27 kB / 0.5227 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1401, allocations: 100.2 kB / 0.5228 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1401, allocations: 0 / 0.5228 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000304/0.1404, allocations: 125.5 kB / 0.5229 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1404, allocations: 15.92 kB / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1404, allocations: 0 / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1404, allocations: 0 / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1406, allocations: 24.11 kB / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1406, allocations: 8 kB / 0.523 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.1407, allocations: 16.12 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1407, allocations: 15.94 kB / 0.523 GB, free: 0.6602 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.0001053/0.1408, allocations: 121.8 kB / 0.5231 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1408, allocations: 7.953 kB / 0.5231 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.1408, allocations: 8.406 kB / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1409, allocations: 7.938 kB / 0.5231 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1409, allocations: 0 / 0.5231 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1409, allocations: 3.984 kB / 0.5231 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.141, allocations: 145.2 kB / 0.5233 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.141, allocations: 0 / 0.5233 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/0.1411, allocations: 15.98 kB / 0.5233 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1411, allocations: 0 / 0.5233 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1411, allocations: 0 / 0.5233 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1412, allocations: 0 / 0.5233 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1412, allocations: 0 / 0.5233 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1414, allocations: 191.3 kB / 0.5235 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1415, allocations: 11.94 kB / 0.5235 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1415, allocations: 4 kB / 0.5235 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1416, allocations: 4 kB / 0.5235 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1416, allocations: 3.984 kB / 0.5235 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1416, allocations: 8 kB / 0.5235 GB, free: 84 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1417, allocations: 106.7 kB / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1417, allocations: 0 / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.142, allocations: 27.89 kB / 0.5236 GB, free: 15.95 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.0001062/0.1421, allocations: 103.2 kB / 0.5237 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1424, allocations: 75.89 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1424, allocations: 0 / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.1425, allocations: 23.98 kB / 0.5238 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.0002599/0.1427, allocations: 4 kB / 0.5238 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.1433, allocations: 297.8 kB / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.1434, allocations: 94.53 kB / 0.5242 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1435, allocations: 11.44 kB / 0.5242 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1435, allocations: 0 / 0.5242 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Templates: time 0.00341/0.1469, allocations: 1.303 MB / 0.5255 GB, free: 13.99 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/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: 7.4397887219674885]