Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001886/0.001886, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001769/0.001769, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.875e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004651/0.00468, allocations: 1.646 MB / 441.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.006139, allocations: 0.5336 MB / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.006219, allocations: 4 kB / 442.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.007065, allocations: 455 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.007826, allocations: 295.2 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.008342, allocations: 126.7 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.008753, allocations: 171.7 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.008872, allocations: 15.97 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.009156, allocations: 119.8 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.009571, allocations: 243.5 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.0096, allocations: 0 / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.009748, allocations: 39.91 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.009903, allocations: 83.66 kB / 443.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.00998, allocations: 43.73 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.01044, allocations: 231.1 kB / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01044, allocations: 0 / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01044, allocations: 0 / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01045, allocations: 4 kB / 444.1 MB, free: 4.152 MB / 366.1 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.001085/0.01154, allocations: 0.5775 MB / 444.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.01158, allocations: 8.031 kB / 444.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.01171, allocations: 44.66 kB / 444.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.01216, allocations: 242 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.01218, allocations: 4.375 kB / 444.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.01221, allocations: 8.375 kB / 445 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.0124, allocations: 50.23 kB / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.01241, allocations: 192 / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.01246, allocations: 16 kB / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01247, allocations: 0 / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.01262, allocations: 31.91 kB / 445.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.01327, allocations: 320.4 kB / 445.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.01356, allocations: 50.48 kB / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.01363, allocations: 16.86 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.01366, allocations: 8 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01369, allocations: 34.5 kB / 445.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.01369, allocations: 0 / 445.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008492/0.01454, allocations: 228.8 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.01459, allocations: 55.34 kB / 445.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.0159, allocations: 0.8613 MB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.01593, allocations: 25.7 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.01618, allocations: 220 kB / 446.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.01621, allocations: 15.91 kB / 446.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.01628, allocations: 21.7 kB / 446.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003175/0.01659, allocations: 354.8 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.01669, allocations: 19.98 kB / 447.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01681, allocations: 19.98 kB / 447.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.01701, allocations: 48.77 kB / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01701, allocations: 0 / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003249/0.01733, allocations: 121.3 kB / 447.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01735, allocations: 8 kB / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01736, allocations: 0 / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01737, allocations: 0 / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01751, allocations: 11.98 kB / 447.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01751, allocations: 0 / 447.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.188e-05/0.01761, allocations: 11.92 kB / 447.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01762, allocations: 4 kB / 447.5 MB, free: 0.5742 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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 0.0002784/0.0179, allocations: 218.4 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.01798, allocations: 43.67 kB / 447.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.01837, allocations: 137.2 kB / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01837, allocations: 0 / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.01838, allocations: 3.938 kB / 447.9 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01838, allocations: 0 / 447.9 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1901/0.2085, allocations: 396.9 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2085, allocations: 3.734 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.2086, allocations: 15.02 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2086, allocations: 1.281 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2086, allocations: 0.7031 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2086, allocations: 1.062 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2086, allocations: 0 / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2088, allocations: 222.7 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.2088, allocations: 36.56 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2089, allocations: 1.922 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.209, allocations: 4.641 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.209, allocations: 3.25 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.209, allocations: 2.969 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006079/0.2096, allocations: 0.6533 MB / 449.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2096, allocations: 0 / 449.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.2099, allocations: 29.27 kB / 449.2 MB, free: 21.11 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001531/0.2114, allocations: 432.7 kB / 449.6 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2116, allocations: 49.56 kB / 449.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2116, allocations: 1.094 kB / 449.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.2117, allocations: 26.38 kB / 449.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.2121, allocations: 30.12 kB / 449.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2132, allocations: 0.7982 MB / 450.6 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2134, allocations: 218.2 kB / 450.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.2135, allocations: 10.42 kB / 450.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.2135, allocations: 16.98 kB / 450.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2135, allocations: 1.438 kB / 450.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of Templates: time 0.005073/0.2186, allocations: 1.331 MB / 452.1 MB, free: 20.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5989246889948845]