Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001231/0.001231, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001277/0.001277, allocations: 162.7 kB / 24.99 MB, free: 9.285 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 1.002/1.002, allocations: 177.1 MB / 205.3 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.272/0.272, allocations: 34.26 MB / 296 MB, free: 0.7773 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.CombiTable2Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.212e-05, allocations: 2.312 kB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002712/0.002744, allocations: 1.696 MB / 379.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004093, allocations: 1.305 MB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.004191, allocations: 3.938 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.004442, allocations: 35.77 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.004843, allocations: 83.55 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.00523, allocations: 175.4 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.005387, allocations: 75.83 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.005513, allocations: 19.92 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.005587, allocations: 43.84 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005695, allocations: 31.91 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.005711, allocations: 4 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.005885, allocations: 91.88 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.00595, allocations: 23.91 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.005984, allocations: 15.92 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.006224, allocations: 143.5 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.006229, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.00623, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.006235, allocations: 0 / 381.8 MB, free: 15.18 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.0007439/0.006979, allocations: 440 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.007027, allocations: 12.03 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.00709, allocations: 12.88 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.007262, allocations: 138.5 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.007273, allocations: 12.3 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.007296, allocations: 4.375 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00746, allocations: 108 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00747, allocations: 4.172 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.007482, allocations: 4.125 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.007489, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.007527, allocations: 16 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.007869, allocations: 291.6 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.007945, allocations: 43.05 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.007975, allocations: 15.62 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.007996, allocations: 0 / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.008024, allocations: 45.47 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.008025, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004532/0.008478, allocations: 125.4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.008527, allocations: 81.11 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.008666, allocations: 205.9 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.008678, allocations: 25.7 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.008735, allocations: 142.8 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.008763, allocations: 31.73 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.008799, allocations: 23.38 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.008919, allocations: 0.4923 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.008944, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.00899, allocations: 65 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.009049, allocations: 31.7 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.00905, allocations: 4.031 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001108/0.009161, allocations: 69.62 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.009181, allocations: 8 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.009187, allocations: 0 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.009203, allocations: 7.922 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.009304, allocations: 12 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009309, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.009339, allocations: 7.984 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.009347, allocations: 8 kB / 384.2 MB, free: 12.49 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 7.499e-05/0.009422, allocations: 156.5 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.009447, allocations: 15.95 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.009602, allocations: 86.38 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009605, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009609, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.009612, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.009899, allocations: 337.4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.009902, allocations: 7.984 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.009949, allocations: 12 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.009952, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.00996, allocations: 3.984 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.009962, allocations: 4.469 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009963, allocations: 3.938 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.01009, allocations: 223.8 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.0101, allocations: 3.953 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01011, allocations: 4 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.01015, allocations: 11.98 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.01019, allocations: 4.266 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.0102, allocations: 4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.784e-05/0.01027, allocations: 145.2 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.01048, allocations: 55.8 kB / 385.3 MB, free: 11.35 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.001073/0.01155, allocations: 491.2 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01169, allocations: 47.59 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01169, allocations: 4 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.01173, allocations: 35.66 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01196, allocations: 27.88 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.01236, allocations: 200.8 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.01241, allocations: 63.34 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.01247, allocations: 20.7 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.01251, allocations: 24.48 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01251, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003951/0.01646, allocations: 2.005 MB / 388.2 MB, free: 8.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.3725906459148973]