Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 110.1 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 187.2 kB / 22.98 MB, free: 5.062 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.606/1.606, allocations: 207.6 MB / 233.7 MB, free: 10 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.2513/0.2513, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 74.55 kB / 467.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 61.04 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001782/0.1441, allocations: 0.4909 MB / 0.5171 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.1474, allocations: 2.006 MB / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1474, allocations: 0 / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.1474, allocations: 0 / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.1474, allocations: 3.938 kB / 0.519 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1497, allocations: 0.7358 MB / 0.5197 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.1498, allocations: 8 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1498, allocations: 3.984 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.1498, allocations: 0 / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.507e-05/0.1498, allocations: 0 / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-06/0.1499, allocations: 3.938 kB / 0.5197 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1512, allocations: 0.7837 MB / 0.5205 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1512, allocations: 3.984 kB / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.1512, allocations: 4 kB / 0.5205 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.152, allocations: 0.5651 MB / 0.5211 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.152, allocations: 4 kB / 0.5211 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.152, allocations: 0 / 0.5211 GB, free: 2.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.152, allocations: 7.938 kB / 0.5211 GB, free: 2.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005198/0.1525, allocations: 331.5 kB / 0.5214 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1526, allocations: 8.031 kB / 0.5214 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1526, allocations: 0.9375 kB / 0.5214 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.1527, allocations: 106.5 kB / 0.5215 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1527, allocations: 4.312 kB / 0.5215 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1527, allocations: 384 / 0.5215 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.1528, allocations: 38 kB / 0.5216 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1528, allocations: 0 / 0.5216 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.1528, allocations: 0 / 0.5216 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1528, allocations: 0 / 0.5216 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.1528, allocations: 4 kB / 0.5216 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.153, allocations: 120.8 kB / 0.5217 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.153, allocations: 18.52 kB / 0.5217 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.153, allocations: 8.844 kB / 0.5217 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.153, allocations: 0 / 0.5217 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.1531, allocations: 64.3 kB / 0.5218 GB, free: 1.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1531, allocations: 4 kB / 0.5218 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001852/0.1533, allocations: 67.39 kB / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1534, allocations: 81.09 kB / 0.5219 GB, free: 1.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.1535, allocations: 89.86 kB / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1535, allocations: 25.7 kB / 0.522 GB, free: 1.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.1535, allocations: 80.14 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1535, allocations: 3.938 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1536, allocations: 13.72 kB / 0.5221 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1537, allocations: 315 kB / 0.5224 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.1538, allocations: 3.938 kB / 0.5224 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.1538, allocations: 8 kB / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.169e-05/0.1538, allocations: 56.27 kB / 0.5225 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1538, allocations: 0 / 0.5225 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.459e-05/0.1539, allocations: 63.39 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.154, allocations: 33.64 kB / 0.5226 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.154, allocations: 4 kB / 0.5226 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.154, allocations: 4.094 kB / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.154, allocations: 0 / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.154, allocations: 0 / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.154, allocations: 0 / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.154, allocations: 0 / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001281/0.1542, allocations: 147.5 kB / 0.5227 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1542, allocations: 3.938 kB / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-06/0.1542, allocations: 3 kB / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1542, allocations: 0 / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1542, allocations: 7.938 kB / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1542, allocations: 0 / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1543, allocations: 120.8 kB / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1543, allocations: 0 / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1543, allocations: 0 / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1543, allocations: 3.938 kB / 0.5228 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1543, allocations: 0 / 0.5228 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1543, allocations: 8 kB / 0.5229 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1543, allocations: 0 / 0.5229 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1544, allocations: 90.83 kB / 0.5229 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.1544, allocations: 15.92 kB / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1545, allocations: 3.938 kB / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.1545, allocations: 0 / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1545, allocations: 0 / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1545, allocations: 112 / 0.523 GB, free: 16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.1545, allocations: 87.22 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1545, allocations: 0 / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.155, allocations: 131.5 kB / 0.5232 GB, free: 15.79 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007457/0.1558, allocations: 267.6 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1559, allocations: 55.41 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1559, allocations: 0 / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.1559, allocations: 59.39 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1561, allocations: 0 / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.1563, allocations: 84.86 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1566, allocations: 0.673 MB / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.484e-06/0.1567, allocations: 0 / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1567, allocations: 11.44 kB / 0.5243 GB, free: 14.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1567, allocations: 0 / 0.5243 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Templates: time 0.008498/0.1652, allocations: 3.781 MB / 0.528 GB, free: 10.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.605099683627486]