Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001284/0.001284, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001477/0.001477, allocations: 168.6 kB / 24.84 MB, free: 9.301 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.9762/0.9762, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1478/0.1478, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.037e-05, allocations: 5.406 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001914/0.001934, allocations: 1.638 MB / 350.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.002381, allocations: 327.3 kB / 350.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.002431, allocations: 0 / 350.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.002831, allocations: 455 kB / 351.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.003048, allocations: 263.3 kB / 351.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003234, allocations: 107.7 kB / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003391, allocations: 155.7 kB / 351.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.003473, allocations: 20.17 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.003568, allocations: 115.8 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.003718, allocations: 243.6 kB / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003733, allocations: 3.938 kB / 352.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.003789, allocations: 28 kB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.003861, allocations: 83.7 kB / 352.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.003889, allocations: 39.73 kB / 352.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.004051, allocations: 195.2 kB / 352.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004053, allocations: 0 / 352.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004054, allocations: 0 / 352.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004058, allocations: 0 / 352.6 MB, free: 5.512 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.0004515/0.004509, allocations: 0.7008 MB / 353.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004549, allocations: 12.03 kB / 353.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.004596, allocations: 52.61 kB / 353.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004741, allocations: 237 kB / 353.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.00475, allocations: 384 / 353.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.004769, allocations: 8.375 kB / 353.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.9e-05/0.004868, allocations: 62.94 kB / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004877, allocations: 192 / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004884, allocations: 3.938 kB / 353.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.004889, allocations: 0 / 353.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.004913, allocations: 15.92 kB / 353.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.00518, allocations: 336.2 kB / 354 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.005246, allocations: 39.03 kB / 354 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.005262, allocations: 11.69 kB / 354 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.005281, allocations: 7.938 kB / 354 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.005296, allocations: 33.39 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005298, allocations: 7.938 kB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003134/0.005611, allocations: 141.6 kB / 354.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.005632, allocations: 51.41 kB / 354.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.00589, allocations: 0.6001 MB / 354.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.005897, allocations: 25.7 kB / 354.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.005997, allocations: 290.7 kB / 355.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.006024, allocations: 31.78 kB / 355.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.006058, allocations: 19.38 kB / 355.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.00618, allocations: 0.5586 MB / 355.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.0062, allocations: 11.98 kB / 355.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.006219, allocations: 8.062 kB / 355.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.006264, allocations: 23.69 kB / 355.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006267, allocations: 3.938 kB / 355.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001173/0.006384, allocations: 109.3 kB / 355.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.006401, allocations: 4 kB / 355.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006406, allocations: 0 / 355.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006416, allocations: 3.938 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.006497, allocations: 23.98 kB / 356 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006501, allocations: 0 / 356 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.006532, allocations: 11.98 kB / 356 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006538, allocations: 0 / 356 MB, free: 1.895 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 7.67e-05/0.006615, allocations: 156.5 kB / 356.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.006648, allocations: 47.72 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.006779, allocations: 105.4 kB / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006782, allocations: 0 / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.006783, allocations: 0 / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006786, allocations: 0 / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.007024, allocations: 397.9 kB / 356.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007026, allocations: 0 / 356.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.007066, allocations: 23.92 kB / 356.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007068, allocations: 0 / 356.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.007073, allocations: 4 kB / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007074, allocations: 0 / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007075, allocations: 0 / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.007173, allocations: 259.6 kB / 356.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.007193, allocations: 31.72 kB / 357 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.007206, allocations: 0 / 357 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.007246, allocations: 4 kB / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.007276, allocations: 7.984 kB / 357 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.007278, allocations: 0 / 357 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.007425, allocations: 394.7 kB / 357.4 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007425, allocations: 0 / 357.4 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007587, allocations: 24 kB / 357.4 MB, free: 412 kB / 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.0007965/0.008383, allocations: 386.9 kB / 357.8 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.008471, allocations: 35.66 kB / 357.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008473, allocations: 0 / 357.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.008498, allocations: 27.61 kB / 357.8 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.008777, allocations: 27.16 kB / 357.9 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.009528, allocations: 0.5862 MB / 358.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.443e-05/0.009622, allocations: 115.2 kB / 358.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.009666, allocations: 12 kB / 358.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.009733, allocations: 82.19 kB / 358.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009733, allocations: 0 / 358.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.004099/0.01383, allocations: 1.623 MB / 360.3 MB, free: 13.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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.1150122191756964]