Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0009498/0.0009498, 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.0009449/0.0009449, 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 1.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.578 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.2545/0.2545, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.98e-05, allocations: 6.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002804/0.002824, allocations: 1.716 MB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.003747, allocations: 0.5491 MB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.003808, allocations: 4 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.004075, allocations: 67.77 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.004734, allocations: 107.5 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.00506, allocations: 135.5 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.005248, allocations: 87.75 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005351, allocations: 16.23 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.005432, allocations: 55.81 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.005531, allocations: 43.92 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.005546, allocations: 7.938 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.005648, allocations: 51.92 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.005718, allocations: 27.91 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.005744, allocations: 11.94 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.005921, allocations: 99.59 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005923, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005924, allocations: 7.938 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005928, allocations: 4 kB / 381 MB, free: 15.61 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.0004643/0.006392, allocations: 447.9 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006432, allocations: 8.031 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.00648, allocations: 16.84 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.006638, allocations: 153 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.006648, allocations: 384 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.006683, allocations: 8.375 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006823, allocations: 66.94 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.006835, allocations: 4.141 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.006846, allocations: 4.125 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.006856, allocations: 4 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.006898, allocations: 11.98 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.00725, allocations: 307.6 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.007431, allocations: 50.98 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.007461, allocations: 19.7 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.007483, allocations: 0 / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.007508, allocations: 41.39 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.007508, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006885/0.008197, allocations: 257.2 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.008226, allocations: 51.41 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.008387, allocations: 238.4 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.008401, allocations: 29.69 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.008467, allocations: 150.9 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.008504, allocations: 47.62 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.00855, allocations: 31.36 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.008679, allocations: 0.5078 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.008712, allocations: 8 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.008747, allocations: 19.98 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.008822, allocations: 39.69 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008823, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001448/0.008967, allocations: 101.8 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.008981, allocations: 6.031 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008985, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.009002, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.009218, allocations: 27.92 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.009224, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.00926, allocations: 15.94 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.009268, allocations: 4 kB / 383.7 MB, free: 12.77 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.185e-05/0.00934, allocations: 160.5 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.009372, allocations: 11.95 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.009555, allocations: 122.9 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009558, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009561, allocations: 0.5625 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009564, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.009962, allocations: 420.6 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.009964, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.01003, allocations: 27.92 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01003, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.01004, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01004, allocations: 7.938 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01005, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.01022, allocations: 267.1 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.01023, allocations: 7.953 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.01025, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.01032, allocations: 19.98 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01036, allocations: 7.984 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.01036, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.01045, allocations: 163.2 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01072, allocations: 31.98 kB / 384.9 MB, free: 11.44 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.001037/0.01175, allocations: 423.1 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.0119, allocations: 67.59 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0119, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.01195, allocations: 35.61 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01224, allocations: 28.16 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.01267, allocations: 274.6 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01272, allocations: 71.33 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.01277, allocations: 16.61 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01281, allocations: 20.48 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01281, allocations: 0 / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003814/0.01662, allocations: 1.595 MB / 387.4 MB, free: 9.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.196288927923888]