Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001912/0.001912, 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.002284/0.002284, 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.552/1.552, allocations: 177 MB / 204.1 MB, free: 9.152 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.2357/0.2357, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.495e-05, allocations: 2.281 kB / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003194/0.003219, allocations: 1.726 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005086, allocations: 0.9697 MB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.00516, allocations: 4 kB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.005474, allocations: 39.77 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.005806, allocations: 99.53 kB / 445.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.006022, allocations: 87.47 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.006228, allocations: 103.7 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.006332, allocations: 7.984 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.006453, allocations: 55.78 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.006538, allocations: 27.91 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.006561, allocations: 8 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.006662, allocations: 39.98 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.006726, allocations: 19.92 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.006782, allocations: 31.84 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.007022, allocations: 115.6 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007024, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007025, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.00703, allocations: 0 / 446.1 MB, free: 1.848 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.0006201/0.00765, allocations: 349.5 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.007688, allocations: 8.031 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.007747, allocations: 20.88 kB / 446.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.008008, allocations: 157.5 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.008023, allocations: 8.312 kB / 446.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.008044, allocations: 384 / 446.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.008202, allocations: 62.17 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.008214, allocations: 192 / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.008225, allocations: 384 / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.008369, allocations: 3.938 kB / 446.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.008457, allocations: 27.92 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.008875, allocations: 228.6 kB / 446.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.00907, allocations: 58.67 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.009137, allocations: 24.84 kB / 447 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.009151, allocations: 3.984 kB / 447 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.00933, allocations: 75.27 kB / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.009331, allocations: 0 / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006373/0.009969, allocations: 181.3 kB / 447.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.01003, allocations: 55.41 kB / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.01027, allocations: 214.4 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.0103, allocations: 29.7 kB / 447.5 MB, free: 228 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.01039, allocations: 108.1 kB / 447.6 MB, free: 116 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.01044, allocations: 27.78 kB / 447.7 MB, free: 88 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.01049, allocations: 25.7 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2466/0.2571, allocations: 322.8 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2573, allocations: 17.5 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2574, allocations: 37.94 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2576, allocations: 61.97 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2576, allocations: 0 / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003218/0.2579, allocations: 114.3 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.2579, allocations: 6.188 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2579, allocations: 0 / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.258, allocations: 1.375 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2581, allocations: 15.23 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2581, allocations: 2.266 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.2582, allocations: 10.59 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2582, allocations: 3.906 kB / 448.3 MB, free: 18.88 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.0001384/0.2583, allocations: 128.9 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.2584, allocations: 13.92 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.2587, allocations: 121.4 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2587, allocations: 1.062 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2587, allocations: 5.062 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2587, allocations: 3.594 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.2592, allocations: 351.9 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2592, allocations: 0 / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.2592, allocations: 12.16 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2592, allocations: 1.094 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2592, allocations: 10.58 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2592, allocations: 5.547 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2592, allocations: 1.062 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.2595, allocations: 214.1 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.2595, allocations: 12.28 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.2595, allocations: 14.94 kB / 449.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.2596, allocations: 3.281 kB / 449.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2596, allocations: 6.203 kB / 449.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2596, allocations: 5.062 kB / 449.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2597, allocations: 157.8 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 0 / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.26, allocations: 26.5 kB / 449.4 MB, free: 18.27 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.001844/0.2619, allocations: 491.6 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.2621, allocations: 58.19 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2621, allocations: 0 / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.2622, allocations: 36.02 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2626, allocations: 32.52 kB / 450 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.2631, allocations: 249.6 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.2632, allocations: 91.88 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.2632, allocations: 20.88 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.2633, allocations: 17.34 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2633, allocations: 3.031 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005784/0.269, allocations: 1.849 MB / 452.2 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.13544087857008]