Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001393/0.001393, allocations: 80.8 kB / 21.5 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.00111/0.00111, allocations: 172.9 kB / 24.91 MB, free: 9.211 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.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2625/0.2625, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.094e-05, allocations: 3.188 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003085/0.003116, allocations: 1.754 MB / 325.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.003859, allocations: 0.5529 MB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.003909, allocations: 4 kB / 325.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.00413, allocations: 47.75 kB / 325.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.004356, allocations: 87.48 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.004598, allocations: 139.5 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.004727, allocations: 83.81 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.004814, allocations: 12.84 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.004886, allocations: 47.83 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.004965, allocations: 31.91 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.004977, allocations: 4 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.005063, allocations: 55.91 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.005119, allocations: 23.86 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.005141, allocations: 19.91 kB / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.00528, allocations: 87.72 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005283, allocations: 0 / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005284, allocations: 4 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005289, allocations: 0 / 326.2 MB, free: 6.672 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000308/0.005597, allocations: 309.5 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.005626, allocations: 12.03 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.005653, allocations: 4.938 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.005914, allocations: 138.1 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.005924, allocations: 8.375 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.005941, allocations: 4.375 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.742e-05/0.006028, allocations: 62.69 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.006037, allocations: 4 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.006043, allocations: 7.938 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.006047, allocations: 0 / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.006071, allocations: 15.92 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.006271, allocations: 172.2 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.006388, allocations: 42.53 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.006404, allocations: 12.84 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.006419, allocations: 0 / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.006438, allocations: 38.69 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.006439, allocations: 0 / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004744/0.006913, allocations: 197.8 kB / 327.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.006945, allocations: 59.34 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.007056, allocations: 163.5 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.007066, allocations: 25.7 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.007103, allocations: 100 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.007134, allocations: 35.69 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.007169, allocations: 25.7 kB / 327.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.007266, allocations: 326.8 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.007287, allocations: 8.188 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.00731, allocations: 20.8 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.007357, allocations: 41.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007359, allocations: 0 / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.091e-05/0.007439, allocations: 70.75 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007451, allocations: 7.938 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007456, allocations: 0 / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007467, allocations: 0 / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.007536, allocations: 23.98 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.00754, allocations: 4 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.007563, allocations: 4 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.007572, allocations: 4 kB / 328.1 MB, free: 4.609 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 (11): * Single equations (assignments): 11 * 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.663e-05/0.007648, allocations: 120.6 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.00767, allocations: 8 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.007796, allocations: 98.25 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007798, allocations: 0 / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0078, allocations: 0 / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.007806, allocations: 3.984 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.008053, allocations: 280.4 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.008056, allocations: 3.938 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.008107, allocations: 23.98 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008109, allocations: 0 / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.008115, allocations: 0 / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008117, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.008119, allocations: 3.938 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.008222, allocations: 183.2 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.008231, allocations: 7.953 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.008242, allocations: 8.062 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.008284, allocations: 8 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.008316, allocations: 11.92 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.00832, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.008355, allocations: 43.64 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008356, allocations: 0 / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.008511, allocations: 31.89 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001326/0.009837, allocations: 0.5777 MB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.009945, allocations: 52.69 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.009961, allocations: 8 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.009994, allocations: 28.78 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01018, allocations: 29.22 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.01056, allocations: 251 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.01061, allocations: 71.33 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01065, allocations: 12.5 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.01071, allocations: 67.36 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01071, allocations: 0 / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of Templates: time 0.003477/0.01419, allocations: 1.674 MB / 331.7 MB, free: 1.219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.8519347012043]