Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001171/0.001171, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001193/0.001193, allocations: 169 kB / 24.25 MB, free: 312 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 1.271/1.271, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.1729/0.1729, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/2.008e-05, allocations: 2.312 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002016/0.002036, allocations: 1.652 MB / 349.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.002518, allocations: 343.2 kB / 349.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.002587, allocations: 3.938 kB / 349.7 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.002897, allocations: 51.69 kB / 349.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.003077, allocations: 47.83 kB / 349.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.003355, allocations: 151.6 kB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.003509, allocations: 75.77 kB / 350 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003628, allocations: 15.97 kB / 350 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.003689, allocations: 39.84 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.003775, allocations: 35.89 kB / 350.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003795, allocations: 4 kB / 350.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.003862, allocations: 31.92 kB / 350.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.003926, allocations: 23.92 kB / 350.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.003959, allocations: 15.92 kB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004116, allocations: 71.75 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00412, allocations: 3.984 kB / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00412, allocations: 0 / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004126, allocations: 0 / 350.2 MB, free: 7.211 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.0003944/0.00452, allocations: 428 kB / 350.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.004563, allocations: 12.03 kB / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.004611, allocations: 8.891 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004751, allocations: 140.4 kB / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004763, allocations: 8.375 kB / 350.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.004786, allocations: 4.375 kB / 350.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004914, allocations: 62.94 kB / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.004926, allocations: 192 / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.004939, allocations: 4.125 kB / 350.9 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.004948, allocations: 0 / 350.9 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.004985, allocations: 11.94 kB / 350.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.005292, allocations: 287.7 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.005366, allocations: 46.98 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.005393, allocations: 19.62 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.005415, allocations: 0 / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.005434, allocations: 41.33 kB / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.005435, allocations: 0 / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.00583, allocations: 125.8 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.005857, allocations: 55.41 kB / 351.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.005951, allocations: 205.8 kB / 351.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.005958, allocations: 29.7 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.006, allocations: 150.8 kB / 351.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006022, allocations: 19.8 kB / 351.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.006056, allocations: 31.38 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.00611, allocations: 0.4961 MB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.006134, allocations: 11.98 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.006154, allocations: 8 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.006197, allocations: 31.92 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006198, allocations: 0 / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.405e-05/0.006272, allocations: 77.53 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.006285, allocations: 4 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.006291, allocations: 0 / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.006306, allocations: 4 kB / 352.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.006386, allocations: 19.98 kB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006392, allocations: 0 / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.006413, allocations: 8 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.006419, allocations: 3.984 kB / 352.5 MB, free: 4.684 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.86e-05/0.006468, allocations: 160.5 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.006485, allocations: 15.91 kB / 352.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.006597, allocations: 82.39 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.0066, allocations: 4 kB / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006603, allocations: 0 / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006607, allocations: 0 / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.006807, allocations: 341.4 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006808, allocations: 3.938 kB / 353.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.006841, allocations: 15.98 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.006843, allocations: 3.938 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.006851, allocations: 4 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006852, allocations: 0 / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006854, allocations: 0 / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.082e-05/0.006935, allocations: 215.8 kB / 353.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.006942, allocations: 7.953 kB / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.006954, allocations: 4 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.006994, allocations: 11.98 kB / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.007037, allocations: 3.984 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.007041, allocations: 7.938 kB / 353.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.007082, allocations: 155.1 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007082, allocations: 0 / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.007234, allocations: 19.98 kB / 353.6 MB, free: 3.574 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.0007977/0.008031, allocations: 374.8 kB / 353.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.008152, allocations: 39.67 kB / 354 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008154, allocations: 0 / 354 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.008183, allocations: 31.77 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.008409, allocations: 21.19 kB / 354 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.008778, allocations: 218.1 kB / 354.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.008817, allocations: 63.34 kB / 354.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.008858, allocations: 15.97 kB / 354.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.008888, allocations: 16.5 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008888, allocations: 0 / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of Templates: time 0.003041/0.01193, allocations: 1.338 MB / 355.7 MB, free: 1.512 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.690832572989166]