Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001232/0.001232, 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.001226/0.001226, allocations: 170.6 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.9736/0.9736, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2555/0.2555, allocations: 34.26 MB / 296.1 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.614e-05, allocations: 9.062 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003801/0.003838, allocations: 1.749 MB / 327.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.00494, allocations: 0.5568 MB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.005006, allocations: 0 / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.005278, allocations: 51.75 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.00558, allocations: 87.55 kB / 327.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.005956, allocations: 131.6 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.00613, allocations: 83.7 kB / 328 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.00623, allocations: 20.2 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.006324, allocations: 39.91 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.006435, allocations: 39.89 kB / 328.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.006453, allocations: 4 kB / 328.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.006571, allocations: 47.92 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.006645, allocations: 23.91 kB / 328.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.006675, allocations: 20.42 kB / 328.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.006869, allocations: 95.59 kB / 328.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006873, allocations: 0 / 328.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006874, allocations: 0 / 328.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006878, allocations: 0 / 328.3 MB, free: 4.684 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.0004073/0.007286, allocations: 305.7 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.007322, allocations: 8.031 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.00736, allocations: 16.92 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.007534, allocations: 142.1 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.007546, allocations: 8.359 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.007566, allocations: 4.375 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.007697, allocations: 66.69 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007707, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.007715, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007722, allocations: 4 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.007757, allocations: 11.92 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.008033, allocations: 176.2 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.008195, allocations: 42.53 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.00822, allocations: 12.86 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.008238, allocations: 0 / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.008262, allocations: 30.69 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.008263, allocations: 0 / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006744/0.008937, allocations: 215 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.008968, allocations: 51.41 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009106, allocations: 168.2 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.009119, allocations: 25.7 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.00916, allocations: 92.06 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.009196, allocations: 35.69 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.009242, allocations: 29.69 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.00934, allocations: 326.8 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.009366, allocations: 8.188 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.009389, allocations: 8 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.009458, allocations: 54.5 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009459, allocations: 0 / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001105/0.00957, allocations: 65.67 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.009584, allocations: 4 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.009591, allocations: 4 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.009605, allocations: 3.938 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.009707, allocations: 23.97 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.009711, allocations: 0 / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.009747, allocations: 4 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.009755, allocations: 4 kB / 330.2 MB, free: 2.613 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.919e-05/0.009834, allocations: 120.6 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.009871, allocations: 15.98 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.01004, allocations: 91.69 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.01004, allocations: 4 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01005, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01005, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.01043, allocations: 268.4 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.01044, allocations: 4 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.01052, allocations: 23.92 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.01053, allocations: 12.05 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.01054, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01054, allocations: 3.984 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.01055, allocations: 3.938 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01072, allocations: 185.2 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.01073, allocations: 7.953 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01075, allocations: 3.984 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.01083, allocations: 8 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.01087, allocations: 11.92 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.01088, allocations: 4 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.039e-05/0.01094, allocations: 50.08 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01094, allocations: 0 / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.01116, allocations: 27.89 kB / 331 MB, free: 1.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.001709/0.01287, allocations: 0.5714 MB / 331.6 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01299, allocations: 48.78 kB / 331.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01299, allocations: 4 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.01304, allocations: 36.77 kB / 331.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.01327, allocations: 19.98 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.0137, allocations: 248.3 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.01374, allocations: 67.47 kB / 332 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.01379, allocations: 20.47 kB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.01386, allocations: 67.36 kB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01387, allocations: 0 / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of Templates: time 0.003468/0.01733, allocations: 1.682 MB / 333.8 MB, free: 15.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.869862057734281]