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.001415/0.001415, 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.001125/0.001125, allocations: 165.4 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 1.013/1.013, allocations: 177.2 MB / 205 MB, free: 5.277 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.2679/0.2679, allocations: 34.27 MB / 295.7 MB, free: 0.7227 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 2.053e-06/2.053e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.499e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002797/0.002832, allocations: 1.719 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.003721, allocations: 0.5453 MB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.003795, allocations: 3.938 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.004087, allocations: 47.8 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.004406, allocations: 95.53 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.004737, allocations: 135.5 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.0049, allocations: 83.81 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005041, allocations: 12.23 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.005149, allocations: 51.81 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005258, allocations: 27.95 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.005279, allocations: 4 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.005411, allocations: 59.86 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.005497, allocations: 23.86 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.005532, allocations: 19.91 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.005739, allocations: 87.72 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005742, allocations: 0 / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.005744, allocations: 4 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.00575, allocations: 0 / 381 MB, free: 15.71 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.0004258/0.006175, allocations: 435.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.006217, allocations: 12.03 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.006265, allocations: 12.84 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.006408, allocations: 141 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.006419, allocations: 8.375 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.006442, allocations: 384 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.006571, allocations: 78.61 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006582, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.00659, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006597, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.006635, allocations: 19.98 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.007004, allocations: 299.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.0072, allocations: 51.08 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.007227, allocations: 11.69 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.007248, allocations: 12.11 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.007269, allocations: 33.39 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.007271, allocations: 0 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006413/0.007912, allocations: 245.6 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.007949, allocations: 59.39 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008068, allocations: 212.9 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.008081, allocations: 33.7 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.008136, allocations: 150.8 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.008168, allocations: 35.69 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.008202, allocations: 27.38 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004064/0.008609, allocations: 0.5001 MB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.008641, allocations: 11.98 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.008665, allocations: 15.98 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.008732, allocations: 51.89 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.008733, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001208/0.008854, allocations: 101.5 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008868, allocations: 6.188 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008873, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008885, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.008955, allocations: 23.98 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.008961, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.008987, allocations: 7.938 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.008994, allocations: 7.938 kB / 383.5 MB, free: 12.94 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 6.888e-05/0.009063, allocations: 164.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.009085, allocations: 15.95 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.009244, allocations: 98.44 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.009248, allocations: 4 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.009252, allocations: 0 / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.009258, allocations: 3.938 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.0096, allocations: 412.6 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.009604, allocations: 4 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.009657, allocations: 19.98 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.009662, allocations: 4.188 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.009673, allocations: 11.92 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.009676, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.009681, allocations: 7.938 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009844, allocations: 259.2 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.009856, allocations: 11.91 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.009872, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.009911, allocations: 8 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.009951, allocations: 11.98 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.009956, allocations: 4 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.01002, allocations: 161.5 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01002, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.0102, allocations: 27.92 kB / 384.8 MB, free: 11.63 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.001059/0.01126, allocations: 421.7 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.01144, allocations: 71.53 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.01145, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.884e-05/0.01151, allocations: 39.83 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.01186, allocations: 23.92 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.01237, allocations: 253.6 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.658e-05/0.01242, allocations: 67.33 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.01249, allocations: 20.59 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.01253, allocations: 16.5 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01253, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003801/0.01633, allocations: 1.702 MB / 387.4 MB, free: 9.141 MB / 362.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 -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: 3.0855128075927496]