Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001023/0.001023, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001693/0.001693, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8897/0.8897, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1358/0.1358, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.052e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002732/0.002753, allocations: 1.634 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.003724, allocations: 0.5376 MB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.003801, allocations: 3.938 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.004094, allocations: 83.69 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.004452, allocations: 107.5 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.0048, allocations: 111.7 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.004984, allocations: 87.69 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.005093, allocations: 11.98 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.005175, allocations: 47.89 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.005295, allocations: 55.86 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.005313, allocations: 4 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.005426, allocations: 43.92 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.005489, allocations: 23.92 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.005521, allocations: 11.92 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005724, allocations: 103.6 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005726, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005727, allocations: 3.938 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005732, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.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.0003896/0.006121, allocations: 435.9 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.006158, allocations: 12.03 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.006198, allocations: 12.84 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006333, allocations: 149.1 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006343, allocations: 384 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.006364, allocations: 8.312 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.006467, allocations: 54.95 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006477, allocations: 4.188 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.006485, allocations: 4.125 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006492, allocations: 3.984 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.006523, allocations: 15.97 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.006805, allocations: 268.4 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.006878, allocations: 42.97 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.006899, allocations: 15.69 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.006914, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.006931, allocations: 41.33 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006933, allocations: 0 / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.007494, allocations: 153.5 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.007518, allocations: 59.34 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.007645, allocations: 238.8 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.007653, allocations: 25.7 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.007704, allocations: 158.8 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.00773, allocations: 27.73 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.007769, allocations: 31.36 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.007827, allocations: 0.4962 MB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.00785, allocations: 15.98 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.007869, allocations: 7.984 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.007919, allocations: 27.69 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007921, allocations: 3.938 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.008025, allocations: 69.58 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.008039, allocations: 10.17 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008043, allocations: 0 / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.008053, allocations: 4 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.008133, allocations: 12 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.008136, allocations: 0 / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.008168, allocations: 7.984 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.008175, allocations: 4 kB / 384.6 MB, free: 17.92 MB / 314.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 (8): * Single equations (assignments): 8 * 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 5.055e-05/0.008226, allocations: 164.5 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.008262, allocations: 15.91 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.008405, allocations: 87.38 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.008407, allocations: 0 / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008409, allocations: 3.984 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008413, allocations: 0 / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.008731, allocations: 349.6 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.008733, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.008794, allocations: 20.02 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.008798, allocations: 4 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.008804, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.008807, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008808, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.008931, allocations: 243.4 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.008945, allocations: 15.89 kB / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.008961, allocations: 432 / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.00903, allocations: 8 kB / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.009056, allocations: 11.92 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.009063, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.009126, allocations: 163.1 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009126, allocations: 0 / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000276/0.009402, allocations: 27.92 kB / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001178/0.01058, allocations: 431.7 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01069, allocations: 39.61 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01069, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.01072, allocations: 27.61 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01103, allocations: 22.89 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.01137, allocations: 236.1 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.01141, allocations: 71.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.01145, allocations: 16.72 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.01151, allocations: 82.19 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01151, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.003272/0.01478, allocations: 1.558 MB / 388.1 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.966647998895496]