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.001446/0.001446, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001576/0.001576, allocations: 173 kB / 24.05 MB, free: 456 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.9783/0.9783, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1409/0.1409, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.513e-06/1.513e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.189e-05, allocations: 6.312 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001899/0.001921, allocations: 1.605 MB / 349.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000463/0.002384, allocations: 327.3 kB / 350.1 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.002441, allocations: 4 kB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.002844, allocations: 455 kB / 350.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.003093, allocations: 251.4 kB / 350.8 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.003355, allocations: 151.7 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003518, allocations: 167.6 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.003606, allocations: 12.17 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.003695, allocations: 115.8 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.003844, allocations: 235.6 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003863, allocations: 4 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.505e-05/0.003918, allocations: 19.98 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.003988, allocations: 87.72 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.004024, allocations: 39.73 kB / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004176, allocations: 183.2 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004178, allocations: 0 / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004178, allocations: 0 / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004182, allocations: 0 / 351.7 MB, free: 5.543 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.0004122/0.004594, allocations: 0.697 MB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004629, allocations: 12.03 kB / 352.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.004668, allocations: 40.66 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004797, allocations: 241 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.004806, allocations: 4.375 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.004812, allocations: 4.375 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.004896, allocations: 62.83 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004903, allocations: 192 / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.004909, allocations: 7.922 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004915, allocations: 0 / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.004932, allocations: 8 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.005188, allocations: 336.2 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.005237, allocations: 35.05 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.005251, allocations: 23.62 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.005272, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.005286, allocations: 37.33 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.005288, allocations: 3.984 kB / 353.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001251/0.005413, allocations: 81.5 kB / 353.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.00543, allocations: 55.41 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.005689, allocations: 0.6001 MB / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5e-06/0.005694, allocations: 25.7 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.005796, allocations: 290.8 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.00581, allocations: 7.938 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.005833, allocations: 19.38 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.005912, allocations: 0.5624 MB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.005921, allocations: 4 kB / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.00593, allocations: 3.984 kB / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.005954, allocations: 19.69 kB / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005956, allocations: 0 / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.745e-05/0.006013, allocations: 85.34 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.006023, allocations: 4 kB / 355 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.006028, allocations: 0 / 355 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.006042, allocations: 0 / 355 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.006093, allocations: 11.94 kB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.006096, allocations: 4 kB / 355 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.006123, allocations: 3.953 kB / 355 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006129, allocations: 4 kB / 355 MB, free: 2.074 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.923e-05/0.006188, allocations: 160.6 kB / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.006213, allocations: 47.66 kB / 355.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.006293, allocations: 73.12 kB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.006294, allocations: 3.984 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006296, allocations: 0 / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006298, allocations: 3.938 kB / 355.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.006425, allocations: 197.1 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006426, allocations: 4 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.006446, allocations: 7.984 kB / 355.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006447, allocations: 0 / 355.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.00645, allocations: 0 / 355.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006452, allocations: 7.875 kB / 355.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006453, allocations: 4 kB / 355.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.006522, allocations: 227.7 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.006542, allocations: 35.66 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006554, allocations: 0 / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.00659, allocations: 7.938 kB / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.006614, allocations: 8.406 kB / 355.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.006617, allocations: 8 kB / 355.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.006779, allocations: 386.7 kB / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006779, allocations: 0 / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.006995, allocations: 20 kB / 356.2 MB, free: 0.832 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.0006162/0.007611, allocations: 319.6 kB / 356.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.986e-05/0.007671, allocations: 27.59 kB / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007673, allocations: 0 / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.007687, allocations: 19.69 kB / 356.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.007896, allocations: 25.95 kB / 356.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.008408, allocations: 0.555 MB / 357.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.00848, allocations: 117.9 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.614e-05/0.008506, allocations: 15.95 kB / 357.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.008557, allocations: 78.2 kB / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008558, allocations: 0 / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of Templates: time 0.004265/0.01282, allocations: 1.371 MB / 358.7 MB, free: 14.35 MB / 298.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: 3.1852681101299822]