Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0009305/0.0009305, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009666/0.0009666, allocations: 166.2 kB / 24.82 MB, free: 9.266 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.9566/0.9566, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2512/0.2512, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.121e-05, allocations: 9.484 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00242/0.002441, allocations: 1.705 MB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.00334, allocations: 0.5452 MB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.003418, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.003736, allocations: 63.72 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.004047, allocations: 99.47 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.004283, allocations: 131.6 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.004417, allocations: 87.69 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.004502, allocations: 12.22 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.004583, allocations: 51.88 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.004679, allocations: 43.89 kB / 379.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004694, allocations: 4 kB / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.004792, allocations: 51.91 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.004871, allocations: 23.91 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.004894, allocations: 11.94 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.005064, allocations: 103.5 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005066, allocations: 4 kB / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005067, allocations: 0 / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005073, allocations: 0 / 379.4 MB, free: 1.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004429/0.005516, allocations: 443.9 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.005561, allocations: 12.03 kB / 379.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.005601, allocations: 12.89 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005745, allocations: 140.4 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005761, allocations: 8.359 kB / 380 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.005783, allocations: 4.375 kB / 380 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.005916, allocations: 62.94 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.00593, allocations: 4.188 kB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.00594, allocations: 4.125 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005948, allocations: 0 / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.005983, allocations: 19.92 kB / 380.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.006288, allocations: 272.3 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.006435, allocations: 51.06 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.006456, allocations: 15.69 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.006477, allocations: 3.938 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.006499, allocations: 45.5 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.0065, allocations: 4 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004923/0.006992, allocations: 213.3 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.007032, allocations: 55.34 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007143, allocations: 218.5 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.007156, allocations: 29.7 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.007207, allocations: 142.9 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.007239, allocations: 47.62 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.007274, allocations: 31.36 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.007403, allocations: 0.5 MB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.007423, allocations: 12 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.00744, allocations: 11.98 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.007796, allocations: 35.69 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007797, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.62e-05/0.007883, allocations: 89.56 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.007893, allocations: 7.938 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.0079, allocations: 3.984 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007913, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.007969, allocations: 27.98 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.007972, allocations: 0.5625 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.007993, allocations: 4 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.008001, allocations: 7.984 kB / 381.9 MB, free: 14.73 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 (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.048e-05/0.008071, allocations: 168.4 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.008095, allocations: 19.91 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.008226, allocations: 110.7 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008227, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.00823, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008233, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.008509, allocations: 385.2 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00851, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.008559, allocations: 23.98 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008562, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.008568, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008569, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.008571, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.008714, allocations: 263.1 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.008726, allocations: 15.97 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.00874, allocations: 4 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.008781, allocations: 7.984 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.008812, allocations: 11.92 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.008816, allocations: 4 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.008875, allocations: 164 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008875, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009038, allocations: 20 kB / 383.1 MB, free: 13.46 MB / 362.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.0008425/0.00988, allocations: 445.2 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.009977, allocations: 47.66 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009978, allocations: 3.938 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.01001, allocations: 35.61 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.01022, allocations: 19.98 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.01056, allocations: 256.7 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.01061, allocations: 71.33 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.01066, allocations: 16.61 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.01073, allocations: 86.12 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01073, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003482/0.01422, allocations: 1.743 MB / 385.8 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.881807121448219]