Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.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.001148/0.001148, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001135/0.001135, allocations: 165.3 kB / 23.8 MB, free: 0.7734 MB / 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.9028/0.9028, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1395/0.1395, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.231e-05, allocations: 4.281 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002144/0.002167, allocations: 1.653 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.003052, allocations: 1.06 MB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.003092, allocations: 0 / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.00329, allocations: 23.8 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.003486, allocations: 47.77 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.003681, allocations: 103.7 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.003799, allocations: 71.7 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.985e-05/0.003879, allocations: 12.17 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.00393, allocations: 27.92 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.004009, allocations: 31.64 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.004025, allocations: 4 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.004111, allocations: 51.92 kB / 350.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.00416, allocations: 15.97 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.004181, allocations: 11.94 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.004333, allocations: 91.59 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004335, allocations: 0 / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004336, allocations: 0 / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.00434, allocations: 7.984 kB / 350.9 MB, free: 6.219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003206/0.00466, allocations: 404.2 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004692, allocations: 12.03 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.004743, allocations: 12.88 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.004862, allocations: 140.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.004871, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.004891, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.005019, allocations: 108 kB / 351.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.005029, allocations: 4.188 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.005038, allocations: 3.938 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005046, allocations: 4 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.005079, allocations: 8 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.005304, allocations: 275.7 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.593e-05/0.005369, allocations: 46.98 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.00539, allocations: 11.69 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.005406, allocations: 0 / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.005423, allocations: 33.48 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.005423, allocations: 0 / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003623/0.005786, allocations: 129.4 kB / 352.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.005807, allocations: 81.05 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.005887, allocations: 185.9 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.005893, allocations: 25.7 kB / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.005921, allocations: 146.8 kB / 352.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.00594, allocations: 19.8 kB / 352.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.005972, allocations: 27.36 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.006009, allocations: 0.4922 MB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.006031, allocations: 7.984 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.006063, allocations: 53.08 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.006107, allocations: 39.97 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.006108, allocations: 4.031 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.519e-05/0.006193, allocations: 65.58 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006204, allocations: 4 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006208, allocations: 3.984 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.006221, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.006301, allocations: 16 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.006306, allocations: 0 / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.006334, allocations: 11.98 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.00634, allocations: 0 / 353.2 MB, free: 3.633 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 (7): * Single equations (assignments): 7 * 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 4.255e-05/0.006382, allocations: 164.5 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.006409, allocations: 15.89 kB / 353.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.006517, allocations: 82.05 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006519, allocations: 288 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006522, allocations: 0 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006525, allocations: 4 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.006736, allocations: 333.4 kB / 353.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006737, allocations: 0 / 353.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.006782, allocations: 19.92 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006785, allocations: 0 / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006792, allocations: 0 / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006793, allocations: 4 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006794, allocations: 0 / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.006879, allocations: 215.8 kB / 354 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.006886, allocations: 7.953 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.0069, allocations: 7.984 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.006952, allocations: 4 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.006986, allocations: 7.984 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.006989, allocations: 0 / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.007024, allocations: 143.2 kB / 354.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007024, allocations: 4 kB / 354.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.007259, allocations: 35.86 kB / 354.3 MB, free: 2.531 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 (7): * Single equations (assignments): 7 * 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.0009355/0.008195, allocations: 435 kB / 354.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.008306, allocations: 39.66 kB / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008307, allocations: 0 / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.008335, allocations: 23.62 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.008587, allocations: 31.83 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.008885, allocations: 194.5 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.008913, allocations: 63.34 kB / 355 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.148e-05/0.008954, allocations: 8 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.008988, allocations: 20.48 kB / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008988, allocations: 0 / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Templates: time 0.003535/0.01252, allocations: 1.706 MB / 356.8 MB, free: 64 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.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.331458793953061]