Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001954/0.001954, allocations: 83.23 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.002208/0.002208, allocations: 157.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.563/1.563, 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.2108/0.2108, allocations: 34.25 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.467e-05, allocations: 4.531 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003045/0.003069, allocations: 1.712 MB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.004934, allocations: 0.9774 MB / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.005, allocations: 4 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.005318, allocations: 83.64 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.005653, allocations: 119.4 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.005858, allocations: 79.61 kB / 445.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.006065, allocations: 119.7 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.006147, allocations: 8 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.006269, allocations: 67.73 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.006383, allocations: 51.89 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.006403, allocations: 4 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.006503, allocations: 51.91 kB / 446 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.006561, allocations: 27.86 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.006613, allocations: 19.92 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.006823, allocations: 123.5 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006827, allocations: 3.938 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006827, allocations: 0 / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006831, allocations: 0 / 446.2 MB, free: 1.762 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.0005466/0.007377, allocations: 357.4 kB / 446.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.007411, allocations: 12.03 kB / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.007456, allocations: 16.84 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.007699, allocations: 157.5 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.007711, allocations: 384 / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.007732, allocations: 4.375 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.007878, allocations: 54.23 kB / 446.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007889, allocations: 192 / 446.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.007901, allocations: 4.375 kB / 446.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.007906, allocations: 3.938 kB / 446.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.007988, allocations: 19.98 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.008343, allocations: 232.5 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.008532, allocations: 70.66 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.008601, allocations: 20.84 kB / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.008615, allocations: 0 / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.008772, allocations: 75.27 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.008774, allocations: 0 / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.009351, allocations: 181.4 kB / 447.4 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.009394, allocations: 51.41 kB / 447.4 MB, free: 404 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.009637, allocations: 231.5 kB / 447.6 MB, free: 156 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.009661, allocations: 37.64 kB / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.009745, allocations: 108.1 kB / 447.8 MB, free: 0 / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1914/0.2011, allocations: 27.09 kB / 447.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.2012, allocations: 22.77 kB / 447.8 MB, free: 19.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2013, allocations: 327.7 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.2013, allocations: 16.33 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.2014, allocations: 40.77 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2016, allocations: 61.98 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2016, allocations: 1.188 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.2018, allocations: 108.9 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2018, allocations: 5 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2018, allocations: 0 / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2018, allocations: 1.062 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2019, allocations: 25.88 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2019, allocations: 2.234 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.202, allocations: 3.125 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.202, allocations: 3.125 kB / 448.4 MB, free: 18.84 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 8.087e-05/0.2021, allocations: 130.1 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2021, allocations: 19.8 kB / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.2023, allocations: 122.4 kB / 448.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2024, allocations: 1 kB / 448.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2024, allocations: 9.625 kB / 448.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2024, allocations: 3.75 kB / 448.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.2027, allocations: 344.7 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2027, allocations: 0.8438 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.2028, allocations: 13.8 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2028, allocations: 5.375 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2028, allocations: 4.344 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2028, allocations: 0 / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2028, allocations: 5.781 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.203, allocations: 213 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.203, allocations: 15.5 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2031, allocations: 6.859 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2031, allocations: 14.86 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.2032, allocations: 6.125 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2032, allocations: 4.109 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.2033, allocations: 175.6 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2033, allocations: 0 / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.2036, allocations: 24.19 kB / 449.5 MB, free: 18.21 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.001785/0.2054, allocations: 481.6 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.2056, allocations: 60 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2056, allocations: 3.969 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.2056, allocations: 34.09 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.206, allocations: 25.44 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.2065, allocations: 264.6 kB / 450.4 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.475e-05/0.2065, allocations: 102.8 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.2066, allocations: 19.36 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2066, allocations: 16.8 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2066, allocations: 1.219 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of Templates: time 0.005208/0.2118, allocations: 1.846 MB / 452.3 MB, free: 17.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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: 4.988168880343437]