Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001058/0.001058, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001064/0.001064, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9853/0.9853, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.2609/0.2609, allocations: 32.8 MB / 294.6 MB, free: 1.203 MB / 266.7 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.73e-05, allocations: 2.969 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003625/0.003652, allocations: 1.771 MB / 325.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004726, allocations: 0.5684 MB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.004791, allocations: 0 / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.005012, allocations: 27.78 kB / 325.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005351, allocations: 75.56 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.005766, allocations: 135.5 kB / 325.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.005979, allocations: 95.64 kB / 326 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.006078, allocations: 24.59 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.00619, allocations: 39.91 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.006279, allocations: 35.89 kB / 326.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.006299, allocations: 8 kB / 326.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.006561, allocations: 103.8 kB / 326.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.006627, allocations: 19.92 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.006656, allocations: 23.91 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.006972, allocations: 159.5 kB / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006975, allocations: 0 / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006976, allocations: 0 / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.006982, allocations: 4 kB / 326.4 MB, free: 6.574 MB / 298.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.0004849/0.007466, allocations: 333.3 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.007507, allocations: 8.031 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.007552, allocations: 4.938 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.00785, allocations: 142.1 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.007861, allocations: 4.375 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.007886, allocations: 4.375 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.008093, allocations: 110.1 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008104, allocations: 0 / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.008114, allocations: 8 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.00812, allocations: 0 / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.008162, allocations: 15.92 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.008435, allocations: 164.3 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.008514, allocations: 38.64 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.008531, allocations: 12.84 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.008552, allocations: 3.938 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.008575, allocations: 38.5 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.008576, allocations: 0 / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003808/0.008957, allocations: 149.6 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.008992, allocations: 81.11 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.009086, allocations: 147.2 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.009096, allocations: 25.7 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.009131, allocations: 96.08 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.009151, allocations: 27.73 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.009188, allocations: 25.7 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.009271, allocations: 326.8 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.855e-05/0.009289, allocations: 7.984 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.009329, allocations: 59.34 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.009373, allocations: 40.98 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.009374, allocations: 0 / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.351e-05/0.009448, allocations: 65.61 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.00946, allocations: 4 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.009465, allocations: 0 / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.009476, allocations: 0 / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.009566, allocations: 27.98 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.009569, allocations: 0 / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.009612, allocations: 20.02 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.009618, allocations: 0 / 328.3 MB, free: 4.438 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.043e-05/0.009678, allocations: 124.5 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.0097, allocations: 8 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.009802, allocations: 74.44 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.009804, allocations: 0 / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009807, allocations: 3.984 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.009811, allocations: 4 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.01009, allocations: 250.6 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01009, allocations: 0 / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.01018, allocations: 27.98 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01018, allocations: 7.969 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01019, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01019, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01019, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.01032, allocations: 167.4 kB / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.01033, allocations: 7.953 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.01035, allocations: 0 / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.01043, allocations: 12.36 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.01048, allocations: 23.91 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01048, allocations: 0 / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.01052, allocations: 41.33 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01052, allocations: 0 / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.0108, allocations: 51.8 kB / 329.1 MB, free: 3.594 MB / 298.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 (9): * Single equations (assignments): 9 * 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.001691/0.01249, allocations: 0.6412 MB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.01261, allocations: 36.78 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.01261, allocations: 4 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.01266, allocations: 32.78 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01288, allocations: 27.23 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.01322, allocations: 214.8 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.01325, allocations: 63.34 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.01331, allocations: 20.47 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.01339, allocations: 71.36 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01339, allocations: 4 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of Templates: time 0.00412/0.01751, allocations: 2.751 MB / 333 MB, free: 24 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.023621547035873]