Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.00201/0.00201, allocations: 83.16 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.00241/0.00241, 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.56/1.56, 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.2176/0.2176, allocations: 34.25 MB / 294.8 MB, free: 14.54 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.545e-05, allocations: 12.89 kB / 442.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004255/0.00429, allocations: 1.727 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.00656, allocations: 0.9775 MB / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.006684, allocations: 3.938 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.007084, allocations: 87.62 kB / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.007583, allocations: 123.4 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.007896, allocations: 79.66 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.008174, allocations: 131.5 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.008282, allocations: 4 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.008452, allocations: 67.86 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.008624, allocations: 75.8 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.008654, allocations: 7.938 kB / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.008836, allocations: 55.92 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.008916, allocations: 23.92 kB / 446.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.008982, allocations: 27.84 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.009302, allocations: 139.5 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.009309, allocations: 4 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009311, allocations: 0 / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.009316, allocations: 0 / 446.3 MB, free: 1.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007379/0.01005, allocations: 373.3 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.0101, allocations: 12.03 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.01016, allocations: 12.84 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.01051, allocations: 162.3 kB / 446.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.01052, allocations: 384 / 446.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.01055, allocations: 4.375 kB / 446.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.01075, allocations: 66.2 kB / 446.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01077, allocations: 192 / 446.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.01079, allocations: 4.375 kB / 446.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.01079, allocations: 3.938 kB / 446.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.0109, allocations: 27.98 kB / 446.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.01141, allocations: 248.4 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.01172, allocations: 58.55 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.0118, allocations: 20.98 kB / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01182, allocations: 0 / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.01201, allocations: 79.3 kB / 447.3 MB, free: 496 kB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.01201, allocations: 0 / 447.3 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009347/0.01294, allocations: 269.1 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.013, allocations: 55.41 kB / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2389/0.2519, allocations: 237.3 kB / 447.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.2519, allocations: 27.69 kB / 447.9 MB, free: 19.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.252, allocations: 108.6 kB / 448 MB, free: 19.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.2521, allocations: 38.09 kB / 448 MB, free: 19.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.2521, allocations: 28.52 kB / 448.1 MB, free: 19.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.2522, allocations: 326.6 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2523, allocations: 29.75 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2524, allocations: 49.67 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2526, allocations: 84.19 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2526, allocations: 1.156 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003251/0.2529, allocations: 131.7 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2529, allocations: 9.219 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.253, allocations: 1.406 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.253, allocations: 4.5 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2531, allocations: 22.48 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2531, allocations: 1.719 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.2532, allocations: 6.609 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2532, allocations: 3.281 kB / 448.7 MB, free: 18.74 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 (13): * Single equations (assignments): 13 * 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.0001254/0.2533, allocations: 135 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.2534, allocations: 17.3 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.2537, allocations: 161 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2537, allocations: 5.625 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2537, allocations: 1.094 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2537, allocations: 0.7031 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.2543, allocations: 401.4 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2543, allocations: 0 / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.2544, allocations: 23 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2544, allocations: 2.25 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2544, allocations: 6.641 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2544, allocations: 1.562 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2544, allocations: 1.062 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.2547, allocations: 244.6 kB / 449.7 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2547, allocations: 20.38 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2548, allocations: 4.062 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.2548, allocations: 5.984 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.2549, allocations: 12.3 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2549, allocations: 5.516 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2551, allocations: 177 kB / 449.9 MB, free: 17.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2551, allocations: 3.625 kB / 449.9 MB, free: 17.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.2554, allocations: 33.97 kB / 450 MB, free: 17.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002169/0.2576, allocations: 0.5327 MB / 450.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.2578, allocations: 76.67 kB / 450.6 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2579, allocations: 0 / 450.6 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.258, allocations: 47.52 kB / 450.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2584, allocations: 30.41 kB / 450.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.259, allocations: 295 kB / 450.9 MB, free: 17.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2592, allocations: 106 kB / 451 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.2592, allocations: 18.47 kB / 451.1 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2593, allocations: 19.83 kB / 451.1 MB, free: 17.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2593, allocations: 0 / 451.1 MB, free: 17.44 MB / 366.1 MB Notification: Performance of Templates: time 0.006757/0.266, allocations: 2.094 MB / 453.2 MB, free: 17.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.08388477191329]