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.0009954/0.0009954, allocations: 80.05 kB / 20.72 MB, free: 3.773 MB / 18.57 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.001122/0.001122, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.9833/0.9833, allocations: 158.6 MB / 186 MB, free: 2.324 MB / 170.7 MB " [Timeout remaining time 179] 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.1361/0.1361, allocations: 32.39 MB / 270.7 MB, free: 14.57 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.652e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002025/0.002051, allocations: 0.5524 MB / 299.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.1545, allocations: 1.954 MB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.1545, allocations: 1.125 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.1546, allocations: 0 / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.1546, allocations: 0 / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.1566, allocations: 0.7624 MB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.1566, allocations: 1.156 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.1567, allocations: 3.188 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.1567, allocations: 1.297 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.714e-05/0.1567, allocations: 2.031 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.1567, allocations: 0 / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.1584, allocations: 0.7545 MB / 303.1 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1584, allocations: 2.453 kB / 303.1 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.1584, allocations: 1.25 kB / 303.1 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1596, allocations: 0.6694 MB / 303.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1596, allocations: 3.938 kB / 303.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1596, allocations: 1.125 kB / 303.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1596, allocations: 0.5938 kB / 303.8 MB, free: 19.09 MB / 282.7 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.0004372/0.16, allocations: 303.4 kB / 304.1 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.16, allocations: 9.281 kB / 304.1 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1601, allocations: 3.656 kB / 304.1 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.632e-05/0.1601, allocations: 107.6 kB / 304.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.1601, allocations: 384 / 304.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.1601, allocations: 3.125 kB / 304.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.351e-05/0.1602, allocations: 55.78 kB / 304.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.1602, allocations: 2.562 kB / 304.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1602, allocations: 1.125 kB / 304.3 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1602, allocations: 5 kB / 304.3 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.053e-05/0.1602, allocations: 35.53 kB / 304.3 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.142e-05/0.1602, allocations: 56.12 kB / 304.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.174e-05/0.1603, allocations: 43.95 kB / 304.4 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.1603, allocations: 34.58 kB / 304.4 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.1603, allocations: 2.156 kB / 304.4 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1603, allocations: 57.97 kB / 304.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.1603, allocations: 2.75 kB / 304.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.592e-05/0.1604, allocations: 116.1 kB / 304.6 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1604, allocations: 86.77 kB / 304.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.847e-05/0.1605, allocations: 90.47 kB / 304.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-06/0.1605, allocations: 25.7 kB / 304.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-06/0.1605, allocations: 81.48 kB / 304.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1605, allocations: 1.375 kB / 304.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.1605, allocations: 19.52 kB / 304.9 MB, free: 17.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.958e-05/0.1605, allocations: 316.7 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.1606, allocations: 27.86 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.1606, allocations: 27.58 kB / 305.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.1606, allocations: 61.23 kB / 305.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1606, allocations: 1.281 kB / 305.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.366e-05/0.1606, allocations: 87.92 kB / 305.4 MB, free: 17.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.1607, allocations: 31.97 kB / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1607, allocations: 4.219 kB / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1607, allocations: 1.375 kB / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.1607, allocations: 1.922 kB / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.1607, allocations: 0 / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.1607, allocations: 1.438 kB / 305.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1607, allocations: 0.6562 kB / 305.5 MB, free: 17.3 MB / 282.7 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 4.557e-05/0.1608, allocations: 143 kB / 305.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.1608, allocations: 2.281 kB / 305.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.158e-05/0.1608, allocations: 4.406 kB / 305.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1608, allocations: 0.5156 kB / 305.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.1608, allocations: 4 kB / 305.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1608, allocations: 2.906 kB / 305.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.969e-05/0.1608, allocations: 63.47 kB / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1608, allocations: 1.062 kB / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-06/0.1608, allocations: 1.484 kB / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.1608, allocations: 0 / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.1608, allocations: 1.156 kB / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1608, allocations: 1.578 kB / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1608, allocations: 0 / 305.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.1609, allocations: 119.6 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.1609, allocations: 11.09 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1609, allocations: 3.375 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-06/0.1609, allocations: 0 / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-06/0.1609, allocations: 5.953 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1609, allocations: 1.094 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.35e-06/0.1609, allocations: 5.75 kB / 305.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1609, allocations: 0 / 305.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.1615, allocations: 140 kB / 306 MB, free: 16.89 MB / 282.7 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.0006182/0.1621, allocations: 270.9 kB / 306.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.1621, allocations: 116.8 kB / 306.3 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1622, allocations: 3.938 kB / 306.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.1622, allocations: 90.06 kB / 306.4 MB, free: 16.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.964e-05/0.1622, allocations: 10.8 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001277/0.1623, allocations: 106 kB / 306.6 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.736e-05/0.1624, allocations: 53.52 kB / 306.6 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.1624, allocations: 0 / 306.6 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1624, allocations: 52.38 kB / 306.7 MB, free: 16.31 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1624, allocations: 4.125 kB / 306.7 MB, free: 16.31 MB / 282.7 MB Notification: Performance of Templates: time 0.008743/0.1711, allocations: 4.486 MB / 311.1 MB, free: 15.09 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0661815791390836]