Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.00108/0.00108, 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.0011/0.0011, allocations: 170.3 kB / 24.82 MB, free: 9.262 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.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3743/0.3743, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.077e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003039/0.00307, allocations: 1.696 MB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.004757, allocations: 1.309 MB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004857, allocations: 3.938 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.00515, allocations: 19.86 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.005577, allocations: 87.55 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.006029, allocations: 183.4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.006223, allocations: 83.7 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.006353, allocations: 11.98 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.006443, allocations: 35.91 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.00657, allocations: 39.89 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.006589, allocations: 4 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.006787, allocations: 91.88 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.006858, allocations: 19.92 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.006889, allocations: 15.94 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.007157, allocations: 147.5 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.00716, allocations: 0 / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.007163, allocations: 0 / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007169, allocations: 0 / 382.2 MB, free: 14.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005423/0.007711, allocations: 435.9 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.007773, allocations: 12.03 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.00782, allocations: 8.891 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.008013, allocations: 154.9 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.008024, allocations: 384 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.008051, allocations: 8.375 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.008246, allocations: 108 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.008261, allocations: 192 / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.008272, allocations: 8.125 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.008281, allocations: 4 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.008314, allocations: 11.92 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.008684, allocations: 268.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.008767, allocations: 39.05 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.008789, allocations: 11.69 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.00882, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.008857, allocations: 45.41 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.008858, allocations: 3.938 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004421/0.0093, allocations: 113.5 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.009348, allocations: 77.11 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009485, allocations: 197.9 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.009504, allocations: 29.7 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.00958, allocations: 150.8 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.009607, allocations: 23.78 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.009648, allocations: 31.36 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.009803, allocations: 0.4923 MB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.009822, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.00987, allocations: 53.06 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.009916, allocations: 27.67 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009918, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.01002, allocations: 69.52 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01004, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01004, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01006, allocations: 4.031 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.01013, allocations: 15.98 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01013, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.01016, allocations: 11.98 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01017, allocations: 0 / 384.6 MB, free: 11.99 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 (7): * Single equations (assignments): 7 * 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 8.601e-05/0.01025, allocations: 156.6 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01028, allocations: 11.89 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.01043, allocations: 90.62 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01043, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.01044, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01044, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.01072, allocations: 318 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01072, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.01078, allocations: 23.92 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01078, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.01079, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01079, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01079, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.01095, allocations: 215.8 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.01096, allocations: 11.94 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.01098, allocations: 4 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.01101, allocations: 7.938 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.01105, allocations: 7.984 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.01106, allocations: 4 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.01113, allocations: 149.2 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.01136, allocations: 43.81 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001101/0.01246, allocations: 493.6 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01258, allocations: 35.67 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01258, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.01262, allocations: 31.59 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01285, allocations: 37.67 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.01322, allocations: 200.8 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.01327, allocations: 67.33 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.01332, allocations: 9.047 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.0134, allocations: 90.17 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0134, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004386/0.01779, allocations: 2.223 MB / 388.8 MB, free: 7.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.4036894771270454]