Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009516/0.0009516, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009568/0.0009568, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9558/0.9558, allocations: 177.1 MB / 205 MB, free: 5.59 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.2391/0.2391, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.485e-05, allocations: 9.203 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00298/0.003005, allocations: 1.709 MB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.004648, allocations: 1.289 MB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.004704, allocations: 4 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.004919, allocations: 23.8 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.005274, allocations: 87.55 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.005589, allocations: 131.6 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.005747, allocations: 71.78 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.005842, allocations: 15.97 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.005919, allocations: 39.84 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006044, allocations: 27.91 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.006063, allocations: 4 kB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.006236, allocations: 95.81 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.006303, allocations: 19.92 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.006336, allocations: 23.91 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.006599, allocations: 131.6 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006602, allocations: 0 / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006603, allocations: 0 / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006607, allocations: 4 kB / 379.7 MB, free: 0.9414 MB / 346.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.0005141/0.007121, allocations: 435.9 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.007166, allocations: 12.03 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.00723, allocations: 8.891 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.007444, allocations: 140.5 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.007458, allocations: 8.312 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.007487, allocations: 8.375 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.007695, allocations: 104 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.007708, allocations: 192 / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.007722, allocations: 4.125 kB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.007731, allocations: 4 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.007778, allocations: 7.984 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.008215, allocations: 287.7 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.008332, allocations: 35.05 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.008372, allocations: 23.62 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.008396, allocations: 0 / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.008428, allocations: 37.39 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.00843, allocations: 0 / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005472/0.008977, allocations: 133.8 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.009025, allocations: 77.11 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.009188, allocations: 193.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.009202, allocations: 25.7 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.00927, allocations: 146.8 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.009299, allocations: 19.8 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.009347, allocations: 35.36 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.009499, allocations: 496.1 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.009532, allocations: 11.98 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.009589, allocations: 53.08 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.00966, allocations: 35.84 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.009661, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000138/0.009799, allocations: 73.61 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.009825, allocations: 8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.00983, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.009844, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.00996, allocations: 27.89 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009966, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.01001, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01002, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.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 9.411e-05/0.01011, allocations: 164.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.01016, allocations: 15.91 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.01034, allocations: 82.38 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01034, allocations: 3.938 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01035, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.01035, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.01076, allocations: 345.4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01077, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.01085, allocations: 15.98 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01085, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01086, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01086, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01087, allocations: 3.938 kB / 382.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01106, allocations: 215.8 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.01108, allocations: 15.94 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.0111, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.01118, allocations: 8 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01123, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.01124, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.01134, allocations: 149 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01134, allocations: 0 / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.0117, allocations: 43.86 kB / 383.2 MB, free: 13.15 MB / 362.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.001424/0.01313, allocations: 493.2 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.01327, allocations: 43.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01328, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.01332, allocations: 23.67 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.01365, allocations: 19.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.01408, allocations: 192.7 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.01414, allocations: 71.34 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.0142, allocations: 12.3 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.01425, allocations: 20.48 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01425, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.004493/0.01874, allocations: 2.165 MB / 386.2 MB, free: 10.26 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.1380379679612815]