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.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.001736/0.001736, 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.001541/0.001541, allocations: 213.6 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.623/1.623, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2336/0.2336, allocations: 44.25 MB / 330.3 MB, free: 9.328 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.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.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.00232/0.00232, allocations: 69 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1473, allocations: 61.04 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001813/0.1492, allocations: 0.5026 MB / 0.5171 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.1522, allocations: 1.905 MB / 0.519 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.1522, allocations: 4 kB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.1523, allocations: 3.938 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.1523, allocations: 0 / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.1546, allocations: 0.7669 MB / 0.5197 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.1547, allocations: 4 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.1547, allocations: 0 / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1547, allocations: 4 kB / 0.5197 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.1548, allocations: 4 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.1548, allocations: 0 / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.1561, allocations: 0.7018 MB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.1561, allocations: 0 / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.1561, allocations: 11.94 kB / 0.5204 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.1569, allocations: 0.565 MB / 0.521 GB, free: 2.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1569, allocations: 0 / 0.521 GB, free: 2.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1569, allocations: 7.984 kB / 0.521 GB, free: 2.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1569, allocations: 0 / 0.521 GB, free: 2.191 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.0004739/0.1574, allocations: 331.4 kB / 0.5213 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1574, allocations: 8.031 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1575, allocations: 0.9375 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1576, allocations: 110.5 kB / 0.5214 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1576, allocations: 4.312 kB / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-06/0.1576, allocations: 4.312 kB / 0.5214 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1577, allocations: 59.72 kB / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1577, allocations: 0 / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1577, allocations: 0 / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1577, allocations: 4 kB / 0.5215 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.1578, allocations: 29.7 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.158, allocations: 101.3 kB / 0.5216 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.1581, allocations: 48.25 kB / 0.5217 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1581, allocations: 34.55 kB / 0.5217 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.1581, allocations: 0 / 0.5217 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.1582, allocations: 60.33 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1582, allocations: 0 / 0.5218 GB, free: 1.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002151/0.1584, allocations: 122.7 kB / 0.5219 GB, free: 1.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1584, allocations: 77.23 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.1585, allocations: 93.86 kB / 0.522 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1585, allocations: 25.7 kB / 0.5221 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.1586, allocations: 80.14 kB / 0.5221 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1586, allocations: 0 / 0.5221 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1586, allocations: 13.72 kB / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1588, allocations: 322.8 kB / 0.5225 GB, free: 480 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.1588, allocations: 29.7 kB / 0.5225 GB, free: 444 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.1588, allocations: 25.7 kB / 0.5225 GB, free: 412 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.1589, allocations: 60.27 kB / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1589, allocations: 4.062 kB / 0.5226 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.142e-05/0.159, allocations: 93.09 kB / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.159, allocations: 29.7 kB / 0.5227 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.159, allocations: 0 / 0.5227 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.159, allocations: 3.938 kB / 0.5227 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.159, allocations: 3.938 kB / 0.5227 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.159, allocations: 0 / 0.5227 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.159, allocations: 4 kB / 0.5227 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1591, allocations: 3.938 kB / 0.5227 GB, free: 168 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 9.264e-05/0.1591, allocations: 135.5 kB / 0.5228 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.1592, allocations: 8.031 kB / 0.5228 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.1592, allocations: 10.92 kB / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1592, allocations: 0 / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1592, allocations: 0 / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1592, allocations: 0 / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.001e-05/0.1593, allocations: 97.33 kB / 0.5229 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1593, allocations: 0 / 0.5229 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.1593, allocations: 4 kB / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1593, allocations: 0 / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1593, allocations: 3.938 kB / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1593, allocations: 3.938 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1593, allocations: 4 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1594, allocations: 120.5 kB / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.1594, allocations: 4 kB / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1594, allocations: 3.984 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.1594, allocations: 3.938 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1594, allocations: 3.938 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1594, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.1595, allocations: 79.28 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1595, allocations: 0 / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.1599, allocations: 127.7 kB / 0.5233 GB, free: 15.49 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.0006881/0.1606, allocations: 271.3 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1607, allocations: 110.8 kB / 0.5237 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1607, allocations: 0 / 0.5237 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.1608, allocations: 85.09 kB / 0.5237 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1609, allocations: 4 kB / 0.5237 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1611, allocations: 110.6 kB / 0.5238 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.1612, allocations: 59.34 kB / 0.5239 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.1612, allocations: 4.125 kB / 0.5239 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.1612, allocations: 7.438 kB / 0.5239 GB, free: 14.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1612, allocations: 7.938 kB / 0.5239 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Templates: time 0.008473/0.1696, allocations: 3.867 MB / 0.5277 GB, free: 10.87 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.677020963281393]