Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001336/0.001336, allocations: 85.36 kB / 20.68 MB, free: 1.039 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.001407/0.001407, allocations: 164.7 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 442.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.15e-05, allocations: 2.281 kB / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001702/0.001733, allocations: 0.5126 MB / 443.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.003394, allocations: 0.7174 MB / 443.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.003411, allocations: 0 / 443.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.003427, allocations: 0 / 443.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-06/0.003435, allocations: 4 kB / 443.9 MB, free: 4.207 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.005581, allocations: 0.6522 MB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.005632, allocations: 7.984 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.005678, allocations: 0 / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.005703, allocations: 0 / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.875e-05/0.005722, allocations: 0 / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.005729, allocations: 4 kB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.006581, allocations: 407.1 kB / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.006589, allocations: 0 / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.00661, allocations: 0 / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.007275, allocations: 379.1 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007279, allocations: 4 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00728, allocations: 0 / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.00729, allocations: 0 / 445.3 MB, free: 2.77 MB / 366.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.0004642/0.007754, allocations: 315.6 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00779, allocations: 8.031 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.00783, allocations: 4.938 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.007935, allocations: 113.7 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.007944, allocations: 384 / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.007958, allocations: 384 / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.008088, allocations: 55.97 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.008099, allocations: 4.125 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.008107, allocations: 384 / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.008112, allocations: 384 / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.008151, allocations: 33.64 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.008287, allocations: 97.33 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.00839, allocations: 56.23 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.008422, allocations: 30.56 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.008427, allocations: 0 / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.008485, allocations: 64.31 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.008486, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002104/0.008696, allocations: 118.8 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.008756, allocations: 81.05 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.008811, allocations: 89.86 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.008827, allocations: 25.7 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.008864, allocations: 84.08 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.008887, allocations: 8.078 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.00892, allocations: 17.72 kB / 446.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.009062, allocations: 314.8 kB / 446.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.009089, allocations: 29.7 kB / 446.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.009111, allocations: 29.69 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.009168, allocations: 60.27 kB / 446.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00917, allocations: 0 / 446.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.365e-05/0.009264, allocations: 89.11 kB / 447 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.009304, allocations: 33.69 kB / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009309, allocations: 96 / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.009324, allocations: 4 kB / 447 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.009325, allocations: 0 / 447 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00933, allocations: 3.938 kB / 447 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.009347, allocations: 7.938 kB / 447.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.009353, allocations: 0 / 447.1 MB, free: 0.7461 MB / 366.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.0001053/0.009459, allocations: 135.5 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.009467, allocations: 0 / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.009478, allocations: 3 kB / 447.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.009479, allocations: 0 / 447.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.009487, allocations: 3.984 kB / 447.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.009489, allocations: 4 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.048e-05/0.00958, allocations: 109.2 kB / 447.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.009583, allocations: 4 kB / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.009583, allocations: 0 / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.009585, allocations: 0 / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.009592, allocations: 0 / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.009593, allocations: 0 / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009594, allocations: 0 / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.00972, allocations: 120.5 kB / 447.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.009728, allocations: 4 kB / 447.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.00974, allocations: 4.031 kB / 447.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.00975, allocations: 3.938 kB / 447.4 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.009761, allocations: 0 / 447.4 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.00977, allocations: 7.984 kB / 447.4 MB, free: 284 kB / 366.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.009814, allocations: 75.28 kB / 447.5 MB, free: 208 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009814, allocations: 0 / 447.5 MB, free: 208 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.01021, allocations: 83.73 kB / 447.6 MB, free: 124 kB / 366.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.1848/0.195, allocations: 233.5 kB / 447.8 MB, free: 19.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1951, allocations: 115 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1951, allocations: 0 / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.1952, allocations: 82.33 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1953, allocations: 1.094 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.1955, allocations: 112.1 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.1955, allocations: 55.7 kB / 448.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.1955, allocations: 0 / 448.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.1956, allocations: 9.562 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1956, allocations: 2.516 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of Templates: time 0.006181/0.2017, allocations: 1.964 MB / 450.2 MB, free: 18.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.933832228183746]