Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001761/0.001761, allocations: 88.98 kB / 20.68 MB, free: 1.02 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.002155/0.002155, allocations: 157.1 kB / 23.95 MB, free: 4.152 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.635/1.635, allocations: 177 MB / 204.1 MB, free: 9.168 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.2424/0.2424, allocations: 34.27 MB / 294.8 MB, free: 14.53 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 442.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.378e-05, allocations: 2.281 kB / 442.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003104/0.003127, allocations: 1.714 MB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.004959, allocations: 0.9658 MB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.005042, allocations: 4 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.005331, allocations: 39.77 kB / 445.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.005709, allocations: 99.47 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.005957, allocations: 83.53 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.006164, allocations: 103.7 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.006256, allocations: 4 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.006384, allocations: 59.77 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.006471, allocations: 27.91 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.006494, allocations: 4 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.006613, allocations: 43.97 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.006679, allocations: 27.92 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.006725, allocations: 15.94 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.006967, allocations: 119.5 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006969, allocations: 0 / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00697, allocations: 0 / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.006979, allocations: 0 / 446.1 MB, free: 1.883 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.0005739/0.007553, allocations: 341.5 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.007587, allocations: 12.03 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.007631, allocations: 12.88 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.007899, allocations: 149.5 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.007914, allocations: 12.31 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.007937, allocations: 384 / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.008093, allocations: 58.23 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.008107, allocations: 192 / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.008117, allocations: 384 / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.008123, allocations: 3.938 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.0082, allocations: 19.98 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.008596, allocations: 236.5 kB / 446.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.00879, allocations: 62.67 kB / 446.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.008853, allocations: 20.86 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.008869, allocations: 0 / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.009025, allocations: 79.25 kB / 447 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.009026, allocations: 0 / 447 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005838/0.00961, allocations: 181.3 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.009654, allocations: 55.34 kB / 447.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.009863, allocations: 188 kB / 447.5 MB, free: 344 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.009886, allocations: 29.7 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.009956, allocations: 104.1 kB / 447.6 MB, free: 200 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.009997, allocations: 27.8 kB / 447.6 MB, free: 172 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.01004, allocations: 17.72 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1648/0.1748, allocations: 322.8 kB / 447.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1749, allocations: 22.25 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.175, allocations: 36.75 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1752, allocations: 62.77 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1752, allocations: 0 / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000215/0.1754, allocations: 109.5 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1754, allocations: 8.844 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1754, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1754, allocations: 1.703 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.1755, allocations: 15.08 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1755, allocations: 0.9375 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.1756, allocations: 7.906 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1756, allocations: 3.094 kB / 448.2 MB, free: 18.93 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.387e-05/0.1757, allocations: 127.5 kB / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1757, allocations: 14.34 kB / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1759, allocations: 125.3 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1759, allocations: 1.219 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1759, allocations: 3.938 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.176, allocations: 0.8438 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.1763, allocations: 351 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1763, allocations: 0 / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.1764, allocations: 14.5 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1764, allocations: 1.344 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1764, allocations: 8.328 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1764, allocations: 1.281 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1764, allocations: 0 / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.1766, allocations: 213.5 kB / 449 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.1766, allocations: 14.91 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1767, allocations: 6.797 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.1767, allocations: 6.641 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1768, allocations: 17.94 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1768, allocations: 7.969 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.1769, allocations: 138.1 kB / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1769, allocations: 0 / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1772, allocations: 26.52 kB / 449.3 MB, free: 18.31 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.001822/0.179, allocations: 486.9 kB / 449.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1792, allocations: 60.17 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1792, allocations: 0 / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.1793, allocations: 29.3 kB / 449.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1796, allocations: 29.84 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.18, allocations: 229.4 kB / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.1801, allocations: 92.39 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.1801, allocations: 16.7 kB / 450.2 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.1802, allocations: 17.39 kB / 450.2 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1802, allocations: 0 / 450.2 MB, free: 17.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005487/0.1856, allocations: 1.85 MB / 452.1 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.252661984413862]