Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001428/0.001428, 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.001061/0.001061, allocations: 161.5 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 1.005/1.005, allocations: 177.1 MB / 206 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.145/0.145, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.116e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002005/0.002026, allocations: 1.641 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.002736, allocations: 0.5452 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.002794, allocations: 4 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.003167, allocations: 447 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.003469, allocations: 291.3 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.003733, allocations: 175.4 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.003895, allocations: 175.6 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.003983, allocations: 19.83 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.00407, allocations: 111.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.004229, allocations: 239.6 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.004243, allocations: 8 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.004302, allocations: 23.98 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.201e-05/0.004374, allocations: 83.7 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.004406, allocations: 31.75 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004573, allocations: 191.2 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004575, allocations: 0 / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004576, allocations: 4 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.004581, allocations: 0 / 381.2 MB, free: 21.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003978/0.004978, allocations: 0.697 MB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.005011, allocations: 11.98 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.005053, allocations: 44.66 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005195, allocations: 252.8 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.005203, allocations: 4.375 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-06/0.005209, allocations: 384 / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.005292, allocations: 58.89 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.005299, allocations: 192 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005306, allocations: 8.125 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.005311, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.005327, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.005572, allocations: 332.3 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.00561, allocations: 31 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.005623, allocations: 11.69 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.005638, allocations: 0 / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.005652, allocations: 45.39 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.005652, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001124/0.005765, allocations: 81.41 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.005782, allocations: 51.41 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.006058, allocations: 0.6078 MB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.006063, allocations: 25.7 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.00617, allocations: 298.7 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.006186, allocations: 16 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.006214, allocations: 23.38 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.006308, allocations: 0.5508 MB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.006316, allocations: 0 / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.006325, allocations: 7.984 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.006346, allocations: 11.69 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006347, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.356e-05/0.006411, allocations: 81.34 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006422, allocations: 8 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.006425, allocations: 7.875 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.006433, allocations: 4.094 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.006477, allocations: 7.984 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00648, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.006502, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.006508, allocations: 8 kB / 384.5 MB, free: 18.14 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 (2): * Single equations (assignments): 2 * 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.111e-05/0.006559, allocations: 152.6 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.006589, allocations: 47.66 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.006671, allocations: 76.73 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.006673, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.006674, allocations: 32 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006677, allocations: 4 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.006801, allocations: 197.1 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006802, allocations: 0 / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.006818, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006819, allocations: 3.938 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.006823, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006824, allocations: 3.938 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006825, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.006894, allocations: 223.7 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.006915, allocations: 31.72 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.006928, allocations: 8.031 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.006962, allocations: 11.94 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.006973, allocations: 3.984 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.006976, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.007126, allocations: 394.7 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007126, allocations: 0 / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.007279, allocations: 15.98 kB / 385.6 MB, free: 16.92 MB / 314.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 (2): * Single equations (assignments): 2 * 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.0006221/0.007901, allocations: 323 kB / 386 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.864e-05/0.007959, allocations: 23.61 kB / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.00796, allocations: 0 / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/0.007969, allocations: 15.62 kB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.008192, allocations: 29 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.008652, allocations: 0.5606 MB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.008707, allocations: 123.1 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.008732, allocations: 7.984 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.008772, allocations: 78.19 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008772, allocations: 4 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.004494/0.01327, allocations: 1.24 MB / 388 MB, free: 14.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.1810228577814996]