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.001117/0.001117, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001923/0.001923, allocations: 169 kB / 24.14 MB, free: 356 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.9106/0.9106, allocations: 158.6 MB / 186 MB, free: 2.758 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.133/0.133, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.535e-06/2.535e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.656e-05, allocations: 2.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001848/0.001884, allocations: 0.5053 MB / 299.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1491/0.151, allocations: 1.949 MB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.151, allocations: 0 / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1511, allocations: 1.156 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.1511, allocations: 1.094 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1532, allocations: 0.797 MB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.1533, allocations: 1.188 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.1533, allocations: 2.875 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.1534, allocations: 3.359 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.1534, allocations: 1.719 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.1534, allocations: 0.5938 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1549, allocations: 0.7074 MB / 303 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1549, allocations: 1.594 kB / 303 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.1549, allocations: 1.969 kB / 303 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1562, allocations: 0.6705 MB / 303.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1562, allocations: 1.656 kB / 303.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1562, allocations: 0 / 303.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1562, allocations: 1.766 kB / 303.7 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.0005532/0.1567, allocations: 306.7 kB / 304 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1568, allocations: 9.688 kB / 304 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1568, allocations: 2.219 kB / 304 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.08e-05/0.1568, allocations: 109.3 kB / 304.1 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1568, allocations: 384 / 304.1 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1568, allocations: 1.562 kB / 304.1 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.505e-05/0.1569, allocations: 60.06 kB / 304.2 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1569, allocations: 2.5 kB / 304.2 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.1569, allocations: 1.219 kB / 304.2 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1569, allocations: 7.875 kB / 304.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.1569, allocations: 31.44 kB / 304.2 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.838e-05/0.157, allocations: 57.39 kB / 304.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.157, allocations: 43.05 kB / 304.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.1571, allocations: 32.69 kB / 304.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-06/0.1571, allocations: 3.656 kB / 304.4 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1571, allocations: 57.53 kB / 304.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1571, allocations: 1.375 kB / 304.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.1572, allocations: 118 kB / 304.5 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1572, allocations: 78.98 kB / 304.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.796e-05/0.1572, allocations: 90.47 kB / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.1572, allocations: 27.52 kB / 304.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-06/0.1572, allocations: 80.14 kB / 304.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1573, allocations: 3 kB / 304.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1573, allocations: 16.53 kB / 304.8 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.1573, allocations: 317.1 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1573, allocations: 26.86 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.1573, allocations: 27.84 kB / 305.2 MB, free: 17.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.1574, allocations: 68.92 kB / 305.2 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1574, allocations: 0 / 305.2 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.145e-05/0.1574, allocations: 87.83 kB / 305.3 MB, free: 17.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.1575, allocations: 32.06 kB / 305.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1575, allocations: 0 / 305.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1575, allocations: 1.688 kB / 305.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-06/0.1575, allocations: 0 / 305.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1575, allocations: 1.578 kB / 305.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.1575, allocations: 4.156 kB / 305.4 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1575, allocations: 7.188 kB / 305.4 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.863e-05/0.1576, allocations: 139.4 kB / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.1576, allocations: 2.312 kB / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.1576, allocations: 3.516 kB / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1576, allocations: 1.656 kB / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1576, allocations: 0 / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1576, allocations: 2.438 kB / 305.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.266e-05/0.1576, allocations: 63.84 kB / 305.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1576, allocations: 1.891 kB / 305.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1576, allocations: 0 / 305.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.1576, allocations: 7.938 kB / 305.6 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1576, allocations: 3.797 kB / 305.6 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1576, allocations: 1.875 kB / 305.6 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1576, allocations: 1.188 kB / 305.6 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.1577, allocations: 117.2 kB / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.1577, allocations: 1.797 kB / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1577, allocations: 2.625 kB / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.1577, allocations: 0 / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.1577, allocations: 1.609 kB / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1578, allocations: 1.531 kB / 305.7 MB, free: 16.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.922e-06/0.1578, allocations: 8.891 kB / 305.7 MB, free: 16.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1578, allocations: 0 / 305.7 MB, free: 16.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007158/0.1585, allocations: 135.6 kB / 305.9 MB, free: 16.9 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.0006828/0.1592, allocations: 273.9 kB / 306.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.1592, allocations: 124.2 kB / 306.3 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1592, allocations: 0 / 306.3 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.1593, allocations: 86.67 kB / 306.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.329e-05/0.1593, allocations: 12.53 kB / 306.3 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001348/0.1595, allocations: 110.9 kB / 306.5 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.537e-05/0.1595, allocations: 53.03 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.47e-06/0.1595, allocations: 1.781 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.1595, allocations: 51.42 kB / 306.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1595, allocations: 0 / 306.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of Templates: time 0.008908/0.1684, allocations: 4.492 MB / 311.1 MB, free: 15.1 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 -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.089100658893585]