Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001226/0.001226, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001496/0.001496, allocations: 161 kB / 24.56 MB, free: 16 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.97/0.97, allocations: 177.1 MB / 205 MB, free: 5.617 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.2648/0.2648, allocations: 34.27 MB / 295.7 MB, free: 0.6758 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.904e-05, allocations: 2.312 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002581/0.00261, allocations: 1.727 MB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.003415, allocations: 0.5375 MB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.003474, allocations: 4 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.003761, allocations: 75.58 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.00405, allocations: 111.5 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.00433, allocations: 131.6 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.004495, allocations: 87.81 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004604, allocations: 16.16 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.004683, allocations: 47.88 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004785, allocations: 55.88 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.0048, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.004898, allocations: 55.84 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.00497, allocations: 27.92 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.004997, allocations: 15.92 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.005177, allocations: 99.59 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00518, allocations: 0 / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005181, allocations: 0 / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.005187, allocations: 0 / 381 MB, free: 15.57 MB / 362.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.0004307/0.005617, allocations: 443.9 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.005655, allocations: 19.97 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.005704, allocations: 16.84 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005855, allocations: 157.8 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.005864, allocations: 384 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.005891, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.006027, allocations: 66.94 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.006038, allocations: 4.141 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.006049, allocations: 8.125 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.006056, allocations: 3.938 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.006099, allocations: 11.98 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.006497, allocations: 295.8 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.006732, allocations: 55.02 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.006767, allocations: 23.8 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.006795, allocations: 0 / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.006823, allocations: 37.39 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.006824, allocations: 0 / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007839/0.007608, allocations: 261.4 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.007641, allocations: 55.41 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.007785, allocations: 234.4 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.007799, allocations: 29.7 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.007866, allocations: 150.9 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.007908, allocations: 43.58 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.007948, allocations: 31.38 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.008079, allocations: 0.5078 MB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.008109, allocations: 8 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.008136, allocations: 19.98 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.008202, allocations: 47.95 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008203, allocations: 0 / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001186/0.008322, allocations: 105.5 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.008337, allocations: 4 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008341, allocations: 0 / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.008361, allocations: 0 / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.008436, allocations: 23.98 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.008441, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.00847, allocations: 7.953 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.008479, allocations: 7.984 kB / 383.7 MB, free: 12.72 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.8e-05/0.008557, allocations: 164.5 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.008583, allocations: 15.95 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.008772, allocations: 111 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008775, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.008779, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008783, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.00951, allocations: 424.5 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.009513, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.009573, allocations: 28.05 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.009577, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.009587, allocations: 4 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.009593, allocations: 4.125 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.009597, allocations: 8 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.009759, allocations: 263.1 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.009773, allocations: 11.95 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.00979, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.009861, allocations: 11.92 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.009913, allocations: 11.98 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.009921, allocations: 8 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01002, allocations: 167.2 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01002, allocations: 0 / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01025, allocations: 27.94 kB / 384.9 MB, free: 11.39 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.0009363/0.01118, allocations: 431.7 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01135, allocations: 55.61 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01135, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.01139, allocations: 43.88 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01166, allocations: 38.98 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.01218, allocations: 258.7 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01225, allocations: 75.28 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.01231, allocations: 24.47 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.01236, allocations: 16.5 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01236, allocations: 0 / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.005159/0.01752, allocations: 1.585 MB / 387.4 MB, free: 8.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.335725301411003]