Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0007503/0.0007503, allocations: 76.06 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.0008378/0.0008378, 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.8742/0.8742, allocations: 158.6 MB / 186 MB, free: 2.73 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.1237/0.1237, allocations: 32.39 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.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.732e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002078/0.002095, allocations: 1.611 MB / 300.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000544/0.002639, allocations: 351.1 kB / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.002695, allocations: 0 / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1357/0.1384, allocations: 444.1 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1388, allocations: 251.1 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1391, allocations: 148.3 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1394, allocations: 170.4 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.1395, allocations: 10.89 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1397, allocations: 113.9 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1399, allocations: 198.7 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1399, allocations: 3.812 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.14, allocations: 23.28 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.14, allocations: 84.02 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1401, allocations: 35.77 kB / 302.5 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1403, allocations: 188.2 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1403, allocations: 1.656 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1403, allocations: 1.344 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1403, allocations: 0 / 302.7 MB, free: 19.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004293/0.1407, allocations: 0.5349 MB / 303.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1408, allocations: 10.03 kB / 303.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1408, allocations: 21.86 kB / 303.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.141, allocations: 244.5 kB / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.141, allocations: 1.625 kB / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.141, allocations: 3.125 kB / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.364e-05/0.1411, allocations: 57.31 kB / 303.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1411, allocations: 1.594 kB / 303.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.1411, allocations: 5.281 kB / 303.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1411, allocations: 1.656 kB / 303.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.1411, allocations: 4.875 kB / 303.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.1413, allocations: 207.3 kB / 303.7 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.1414, allocations: 23.03 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.1414, allocations: 7.688 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1414, allocations: 1.188 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.1414, allocations: 40.09 kB / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1414, allocations: 0 / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001101/0.1415, allocations: 66.06 kB / 303.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.1415, allocations: 51.41 kB / 303.9 MB, free: 18.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.1419, allocations: 0.5267 MB / 304.5 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-06/0.1419, allocations: 26.83 kB / 304.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.142, allocations: 136.7 kB / 304.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.142, allocations: 8.016 kB / 304.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.142, allocations: 16.34 kB / 304.6 MB, free: 17.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.1421, allocations: 365.4 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.1421, allocations: 3.141 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.1421, allocations: 3.172 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.1421, allocations: 17.55 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1421, allocations: 0 / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.67e-05/0.1422, allocations: 59.59 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1422, allocations: 9.125 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1422, allocations: 0 / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1422, allocations: 0.5156 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.1422, allocations: 7.828 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1422, allocations: 3.969 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.1423, allocations: 2.016 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1423, allocations: 2.531 kB / 305.1 MB, free: 17.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.045e-05/0.1423, allocations: 116.2 kB / 305.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.1424, allocations: 20.77 kB / 305.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.1424, allocations: 84.8 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1424, allocations: 1.984 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1424, allocations: 4.75 kB / 305.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1425, allocations: 1.188 kB / 305.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1426, allocations: 133 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1426, allocations: 0.8438 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.1426, allocations: 7.094 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1426, allocations: 1.125 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1426, allocations: 4.188 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1426, allocations: 0.75 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1426, allocations: 3.938 kB / 305.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.051e-05/0.1427, allocations: 154.6 kB / 305.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.1427, allocations: 42.52 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1427, allocations: 0.6562 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.1428, allocations: 3.188 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1428, allocations: 7.062 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1428, allocations: 11.28 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.143, allocations: 277 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.143, allocations: 3 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.1432, allocations: 18.41 kB / 306 MB, free: 17.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0008393/0.144, allocations: 431.7 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.69e-05/0.144, allocations: 21.03 kB / 306.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.1441, allocations: 5.281 kB / 306.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.1441, allocations: 13.08 kB / 306.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.1443, allocations: 24.03 kB / 306.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.1448, allocations: 0.5611 MB / 307 MB, free: 16.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.991e-05/0.1449, allocations: 119.8 kB / 307.1 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.634e-05/0.1449, allocations: 8.781 kB / 307.1 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1449, allocations: 57.38 kB / 307.2 MB, free: 16.46 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1449, allocations: 0 / 307.2 MB, free: 16.46 MB / 282.7 MB Notification: Performance of Templates: time 0.003725/0.1487, allocations: 1.306 MB / 308.5 MB, free: 16.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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: 2.863488705828786]