Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001383/0.001383, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001533/0.001533, allocations: 170.3 kB / 24.91 MB, free: 8.77 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.3213/0.3213, allocations: 34.26 MB / 296.1 MB, free: 0.6133 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.455e-05, allocations: 3.156 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003851/0.003886, allocations: 1.745 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.004956, allocations: 0.5723 MB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.005024, allocations: 0 / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.005644, allocations: 447.1 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.006175, allocations: 299.1 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.006551, allocations: 127.6 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.006838, allocations: 183.6 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.00694, allocations: 8.234 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.007129, allocations: 135.7 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.007376, allocations: 195.6 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.007396, allocations: 4 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.007529, allocations: 55.91 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.00765, allocations: 87.64 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.0077, allocations: 44.23 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.008003, allocations: 207.1 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.008008, allocations: 4 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.00801, allocations: 0 / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.008017, allocations: 0 / 329.4 MB, free: 3.504 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.0006317/0.008649, allocations: 0.5656 MB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.00869, allocations: 8.031 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.008747, allocations: 28.91 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.009002, allocations: 242 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.009016, allocations: 8.375 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.009036, allocations: 384 / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.00917, allocations: 66.88 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.009183, allocations: 12.17 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.009193, allocations: 4.125 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009198, allocations: 0 / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.581e-05/0.009234, allocations: 11.98 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.00954, allocations: 176.2 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.009707, allocations: 34.56 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.009728, allocations: 8.859 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.009745, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.009772, allocations: 38.5 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.009773, allocations: 0 / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006861/0.01046, allocations: 230.8 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.01049, allocations: 55.34 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.01096, allocations: 0.5244 MB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.01098, allocations: 29.7 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.01106, allocations: 145.2 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.0111, allocations: 31.7 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.01114, allocations: 33.69 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.01128, allocations: 366.6 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.01131, allocations: 8.062 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.01133, allocations: 12 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.01139, allocations: 38.14 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01139, allocations: 0 / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001263/0.01152, allocations: 91.83 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01154, allocations: 7.984 kB / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01154, allocations: 0 / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01156, allocations: 0 / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.01165, allocations: 27.98 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.01165, allocations: 0 / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.0117, allocations: 4 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.01171, allocations: 0 / 332.2 MB, free: 0.5703 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 9.627e-05/0.0118, allocations: 124.5 kB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.01185, allocations: 23.97 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.01204, allocations: 117.5 kB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01204, allocations: 4 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01204, allocations: 0 / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01205, allocations: 0 / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.01244, allocations: 340.1 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01245, allocations: 4 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.0125, allocations: 19.98 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01251, allocations: 4 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01252, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01252, allocations: 7.922 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01252, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01264, allocations: 205.1 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.01266, allocations: 31.72 kB / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.01268, allocations: 12.05 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.01272, allocations: 4 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01276, allocations: 15.92 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.01276, allocations: 0 / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.01293, allocations: 283.2 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01293, allocations: 0 / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.01309, allocations: 31.98 kB / 333.4 MB, free: 15.29 MB / 314.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.001302/0.01439, allocations: 0.5742 MB / 334 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.0145, allocations: 56.7 kB / 334 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.01451, allocations: 8 kB / 334 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.01454, allocations: 28.78 kB / 334 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01478, allocations: 37.83 kB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.0155, allocations: 0.6273 MB / 334.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.091e-05/0.01557, allocations: 119.2 kB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.01561, allocations: 16.47 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.01567, allocations: 67.38 kB / 334.9 MB, free: 14 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01567, allocations: 4 kB / 334.9 MB, free: 14 MB / 314.7 MB Notification: Performance of Templates: time 0.004467/0.02014, allocations: 1.856 MB / 336.8 MB, free: 12.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.0003497009165585]