Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001175/0.001175, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005485/0.005485, allocations: 164 kB / 24.7 MB, free: 8.891 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.8932/0.8932, allocations: 177.1 MB / 205 MB, free: 5.738 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.2642/0.2642, allocations: 32.8 MB / 294.2 MB, free: 1.195 MB / 266.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.637e-05, allocations: 2.281 kB / 440.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002207/0.002233, allocations: 1.612 MB / 442.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.003021, allocations: 0.5375 MB / 443 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.003086, allocations: 0 / 443 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.003413, allocations: 135.5 kB / 443.1 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.003691, allocations: 127.5 kB / 443.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.00391, allocations: 115.5 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004077, allocations: 99.72 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004181, allocations: 12 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.004258, allocations: 59.86 kB / 443.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.004383, allocations: 87.83 kB / 443.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.0044, allocations: 4 kB / 443.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.004484, allocations: 43.92 kB / 443.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.00455, allocations: 35.84 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.004591, allocations: 11.94 kB / 443.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004804, allocations: 123.5 kB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.004808, allocations: 4 kB / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.00481, allocations: 0 / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.004816, allocations: 0 / 443.9 MB, free: 0.6914 MB / 410.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.0005632/0.00538, allocations: 361.4 kB / 444.2 MB, free: 316 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.00543, allocations: 16.03 kB / 444.2 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.005473, allocations: 12.84 kB / 444.2 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.005658, allocations: 153.1 kB / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00567, allocations: 384 / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.0057, allocations: 12.31 kB / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005849, allocations: 62.16 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.005862, allocations: 192 / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.005881, allocations: 12.06 kB / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005887, allocations: 0 / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2085/0.2144, allocations: 24.84 kB / 444.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.2148, allocations: 246.1 kB / 444.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.2149, allocations: 43.08 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.2149, allocations: 22.72 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2149, allocations: 2.875 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.215, allocations: 36.34 kB / 444.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.063e-06/0.215, allocations: 0 / 444.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006694/0.2156, allocations: 251.9 kB / 445.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.2157, allocations: 52.59 kB / 445.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2158, allocations: 272.9 kB / 445.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.2158, allocations: 25.7 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.2159, allocations: 124.9 kB / 445.6 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2159, allocations: 23.22 kB / 445.6 MB, free: 46.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2159, allocations: 26.3 kB / 445.6 MB, free: 46.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.216, allocations: 330.8 kB / 445.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.216, allocations: 29.36 kB / 446 MB, free: 45.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.2161, allocations: 28.95 kB / 446 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.2162, allocations: 79.7 kB / 446.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2162, allocations: 0 / 446.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001267/0.2163, allocations: 114.2 kB / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2163, allocations: 7.656 kB / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2163, allocations: 2.594 kB / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2163, allocations: 0 / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.2164, allocations: 23.67 kB / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2164, allocations: 0 / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.2164, allocations: 6.359 kB / 446.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2164, allocations: 6.562 kB / 446.2 MB, free: 45.81 MB / 410.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 6.28e-05/0.2165, allocations: 141.5 kB / 446.4 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2165, allocations: 17.55 kB / 446.4 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.2167, allocations: 134.1 kB / 446.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2167, allocations: 3 kB / 446.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2167, allocations: 3.469 kB / 446.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2167, allocations: 3.188 kB / 446.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.2171, allocations: 371 kB / 446.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2171, allocations: 0 / 446.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.2171, allocations: 25.8 kB / 446.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2171, allocations: 0.8438 kB / 446.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2171, allocations: 2.906 kB / 446.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2171, allocations: 3.812 kB / 446.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2171, allocations: 2.906 kB / 446.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2173, allocations: 217.7 kB / 447.1 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.2173, allocations: 17.38 kB / 447.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2173, allocations: 0 / 447.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.2173, allocations: 5.469 kB / 447.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2174, allocations: 9.516 kB / 447.2 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.2174, allocations: 5.859 kB / 447.2 MB, free: 45.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.2175, allocations: 217.7 kB / 447.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2175, allocations: 0 / 447.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.2176, allocations: 27.08 kB / 447.4 MB, free: 45.05 MB / 410.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.0008368/0.2185, allocations: 494.5 kB / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2186, allocations: 79.61 kB / 448 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2186, allocations: 0 / 448 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.2187, allocations: 40.23 kB / 448 MB, free: 44.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.219, allocations: 23.59 kB / 448 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.2194, allocations: 349 kB / 448.4 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.315e-05/0.2195, allocations: 105.2 kB / 448.5 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2195, allocations: 21.42 kB / 448.5 MB, free: 44.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2195, allocations: 3.938 kB / 448.5 MB, free: 44.56 MB / 410.7 MB Notification: Performance of Templates: time 0.002755/0.2223, allocations: 2.011 MB / 450.5 MB, free: 44.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.14146227017045]