Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001355/0.001355, allocations: 86.09 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.001497/0.001497, allocations: 157.1 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.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.191 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.2665/0.2665, allocations: 34.26 MB / 294.8 MB, free: 14.57 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.682e-05, allocations: 10.22 kB / 442.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003261/0.003288, allocations: 1.875 MB / 444.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005339, allocations: 1.071 MB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.005444, allocations: 7.938 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.005946, allocations: 247.2 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.006451, allocations: 251 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.00672, allocations: 115.5 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.00709, allocations: 279.2 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.007216, allocations: 25.95 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.00745, allocations: 155.6 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.007704, allocations: 187.6 kB / 446.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.007737, allocations: 15.94 kB / 447 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.007875, allocations: 59.92 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.007995, allocations: 75.69 kB / 447.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.008076, allocations: 51.78 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.008438, allocations: 255 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00844, allocations: 0 / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008441, allocations: 0 / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.008452, allocations: 0 / 447.4 MB, free: 0.5664 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008593/0.009311, allocations: 0.508 MB / 447.9 MB, free: 28 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.00935, allocations: 12.03 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2403/0.2497, allocations: 35.31 kB / 447.9 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.2502, allocations: 226.2 kB / 448.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2503, allocations: 8.359 kB / 448.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.2503, allocations: 8.531 kB / 448.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.2506, allocations: 113.8 kB / 448.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2506, allocations: 4.594 kB / 448.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2507, allocations: 5.75 kB / 448.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2507, allocations: 6.188 kB / 448.3 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2508, allocations: 49.05 kB / 448.4 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.2514, allocations: 418 kB / 448.8 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.2518, allocations: 122.3 kB / 448.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2519, allocations: 46.72 kB / 448.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.252, allocations: 9.672 kB / 448.9 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.2522, allocations: 122.6 kB / 449.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.2522, allocations: 0 / 449.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001427/0.2536, allocations: 0.5342 MB / 449.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2537, allocations: 84.17 kB / 449.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.2542, allocations: 0.4961 MB / 450.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2542, allocations: 31.33 kB / 450.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2543, allocations: 174.2 kB / 450.4 MB, free: 18.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2544, allocations: 68.27 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.2545, allocations: 46.28 kB / 450.5 MB, free: 18.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2546, allocations: 353.5 kB / 450.8 MB, free: 17.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2547, allocations: 57.12 kB / 450.9 MB, free: 17.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.2549, allocations: 92.91 kB / 451 MB, free: 17.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.2552, allocations: 165.6 kB / 451.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2552, allocations: 1.062 kB / 451.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004747/0.2557, allocations: 243.5 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2557, allocations: 6.672 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2557, allocations: 4 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.2558, allocations: 2.75 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.2559, allocations: 42.84 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.2559, allocations: 4.109 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/0.256, allocations: 9.531 kB / 451.4 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.256, allocations: 11.48 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001648/0.2562, allocations: 181.7 kB / 451.6 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2563, allocations: 38.28 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/0.2568, allocations: 283.5 kB / 451.9 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2568, allocations: 2.75 kB / 452 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2568, allocations: 1.375 kB / 452 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2568, allocations: 2.062 kB / 452 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.2577, allocations: 0.6876 MB / 452.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2577, allocations: 4.594 kB / 452.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2578, allocations: 30.25 kB / 452.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.2578, allocations: 6.688 kB / 452.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2578, allocations: 9.625 kB / 452.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2578, allocations: 6.688 kB / 452.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2578, allocations: 2.078 kB / 452.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.2583, allocations: 440.4 kB / 453.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2584, allocations: 42.2 kB / 453.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.2584, allocations: 8.312 kB / 453.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2586, allocations: 6.469 kB / 453.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.2587, allocations: 21.06 kB / 453.2 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.2587, allocations: 14.23 kB / 453.2 MB, free: 16.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.2591, allocations: 378.5 kB / 453.6 MB, free: 16.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2591, allocations: 0 / 453.6 MB, free: 16.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.2595, allocations: 52.5 kB / 453.6 MB, free: 16.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002195/0.2617, allocations: 0.5401 MB / 454.2 MB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.2621, allocations: 163.2 kB / 454.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2621, allocations: 1.125 kB / 454.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2623, allocations: 82.73 kB / 454.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.263, allocations: 69.17 kB / 454.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2644, allocations: 0.6157 MB / 455.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2646, allocations: 178.6 kB / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.2648, allocations: 43 kB / 455.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.2648, allocations: 32.91 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2648, allocations: 5.188 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.009185/0.274, allocations: 3.324 MB / 458.7 MB, free: 14.99 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.075734294950962]