Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.88e-05/4.042e-05, allocations: 8.75 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003488/0.003528, allocations: 1.716 MB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.005534, allocations: 0.9697 MB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.005627, allocations: 7.938 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.006002, allocations: 35.83 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.006369, allocations: 103.4 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.006591, allocations: 83.59 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.006797, allocations: 103.6 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006919, allocations: 11.98 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.007039, allocations: 51.84 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.007127, allocations: 31.91 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.00715, allocations: 4 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.007257, allocations: 47.91 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.00732, allocations: 23.86 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.007367, allocations: 15.94 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.007612, allocations: 119.6 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007616, allocations: 0 / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007617, allocations: 4 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.007626, allocations: 0 / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005778/0.008204, allocations: 341.6 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.008243, allocations: 12.03 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.008292, allocations: 20.78 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.008599, allocations: 147 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.008612, allocations: 4.375 kB / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.008643, allocations: 384 / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.008812, allocations: 62.17 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008825, allocations: 192 / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.008835, allocations: 384 / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.008843, allocations: 3.938 kB / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.008928, allocations: 19.98 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.009359, allocations: 240.5 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.009552, allocations: 58.61 kB / 447 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.688e-05/0.009619, allocations: 24.84 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.009633, allocations: 0 / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.009809, allocations: 71.33 kB / 447 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.817e-06/0.009813, allocations: 3.984 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.01045, allocations: 185.3 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.0105, allocations: 51.41 kB / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.01074, allocations: 210.2 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.01078, allocations: 29.7 kB / 447.5 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.01086, allocations: 100.1 kB / 447.6 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.0109, allocations: 27.78 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.01095, allocations: 21.72 kB / 447.7 MB, free: 120 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2517/0.2627, allocations: 326.8 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2629, allocations: 16.92 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.263, allocations: 37.12 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2631, allocations: 70.64 kB / 448.1 MB, free: 18.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2631, allocations: 2.469 kB / 448.1 MB, free: 18.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002895/0.2634, allocations: 102.9 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2634, allocations: 5.906 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2634, allocations: 3.812 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2635, allocations: 4.609 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2636, allocations: 17.78 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2636, allocations: 5.656 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.2636, allocations: 3.25 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2637, allocations: 3.734 kB / 448.3 MB, free: 18.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001043/0.2638, allocations: 130.5 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2638, allocations: 11.92 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2641, allocations: 122 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2641, allocations: 5.531 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2641, allocations: 3.938 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2641, allocations: 1.75 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.2645, allocations: 347.3 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2645, allocations: 1.625 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2646, allocations: 9.844 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2646, allocations: 1.156 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2646, allocations: 7.578 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2646, allocations: 1.766 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2646, allocations: 3.312 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.2648, allocations: 212.2 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.2648, allocations: 12.62 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.2648, allocations: 10.67 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.2649, allocations: 3.219 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.265, allocations: 9.609 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.265, allocations: 4.109 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.2651, allocations: 150.4 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 0 / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.2654, allocations: 25.39 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001927/0.2673, allocations: 490.4 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.2676, allocations: 60.19 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2676, allocations: 1.062 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2677, allocations: 28.39 kB / 449.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.2681, allocations: 30.31 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.2689, allocations: 238.6 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.269, allocations: 93.88 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.2691, allocations: 20.94 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.2691, allocations: 20.39 kB / 450.3 MB, free: 17.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2691, allocations: 0 / 450.3 MB, free: 17.87 MB / 366.1 MB Notification: Performance of Templates: time 0.006903/0.276, allocations: 1.858 MB / 452.1 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.18434165418148]