Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.0009911/0.0009911, allocations: 72.33 kB / 22.21 MB, free: 2.301 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.0009375/0.0009375, allocations: 167.8 kB / 25.61 MB, free: 8.93 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.9016/0.9016, allocations: 177.1 MB / 206 MB, free: 4.5 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.1363/0.1363, allocations: 34.27 MB / 296.9 MB, free: 13.94 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.678e-06/1.078e-05, allocations: 2.859 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001561/0.001572, allocations: 1.63 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.002456, allocations: 1.274 MB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.002508, allocations: 3.938 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.002694, allocations: 27.73 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.002916, allocations: 83.61 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.003106, allocations: 115.6 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.003205, allocations: 75.75 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.003278, allocations: 11.86 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.003324, allocations: 31.91 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.003401, allocations: 27.91 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.003413, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.00351, allocations: 95.75 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.00354, allocations: 11.94 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.003559, allocations: 19.92 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.0037, allocations: 127.6 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.003701, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003702, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.003705, allocations: 0 / 382.8 MB, free: 19.86 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.0002515/0.003956, allocations: 431.9 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.409e-05/0.003981, allocations: 16.02 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.004011, allocations: 12.89 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.004102, allocations: 128.5 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.00411, allocations: 4.375 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.004123, allocations: 384 / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.004204, allocations: 108 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.004215, allocations: 192 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.004221, allocations: 8.125 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.004226, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.004243, allocations: 7.938 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.004402, allocations: 252.3 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.004499, allocations: 43.11 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.004511, allocations: 11.69 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.004522, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.004536, allocations: 45.27 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.004536, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002086/0.004745, allocations: 89.92 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.004762, allocations: 77.11 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.004826, allocations: 200.2 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.004831, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.004852, allocations: 142.8 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.004867, allocations: 23.84 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.004889, allocations: 19.38 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.00492, allocations: 0.4961 MB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.004929, allocations: 4 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.004948, allocations: 53.06 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.004972, allocations: 19.88 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.004973, allocations: 8.031 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.265e-05/0.005025, allocations: 65.5 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.005033, allocations: 4 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.005036, allocations: 0 / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.005044, allocations: 4 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.005078, allocations: 15.98 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.00508, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.005098, allocations: 4 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.005102, allocations: 0 / 385.1 MB, free: 17.35 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 (5): * Single equations (assignments): 5 * 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 3.858e-05/0.005141, allocations: 152.6 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.005162, allocations: 19.89 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.005234, allocations: 74.06 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005235, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005236, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005239, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.005387, allocations: 302 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005387, allocations: 0 / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.005411, allocations: 8 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005412, allocations: 3.938 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005416, allocations: 4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005417, allocations: 4.188 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005419, allocations: 4 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.71e-05/0.005476, allocations: 203.8 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.005485, allocations: 11.94 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.005496, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.005528, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.005552, allocations: 7.984 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.005556, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.005596, allocations: 144.9 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005596, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.005795, allocations: 47.8 kB / 386.1 MB, free: 16.31 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 (5): * Single equations (assignments): 5 * 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.0009066/0.006702, allocations: 492.6 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.00677, allocations: 31.69 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006771, allocations: 0 / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.006788, allocations: 23.67 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00697, allocations: 29.84 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.007172, allocations: 159.8 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.006e-05/0.007192, allocations: 67.2 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.007223, allocations: 7.984 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.007273, allocations: 90.19 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007274, allocations: 0 / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.002797/0.01007, allocations: 2.047 MB / 389 MB, free: 13.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.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.8873186809942126]