Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001847/0.001847, allocations: 89.3 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.002277/0.002277, allocations: 157.5 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.531/1.531, allocations: 177 MB / 204.1 MB, free: 9.16 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.2195/0.2195, allocations: 34.28 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.652e-05, allocations: 2.281 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004722/0.004759, allocations: 1.792 MB / 444.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.00901, allocations: 1.745 MB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.009131, allocations: 4 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.009522, allocations: 55.61 kB / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/0.01019, allocations: 143.2 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.01059, allocations: 103.6 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.01105, allocations: 215.2 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.01114, allocations: 5.812 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.01141, allocations: 111.7 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.01166, allocations: 67.73 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.01171, allocations: 12 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.012, allocations: 103.8 kB / 447.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.01212, allocations: 39.83 kB / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.01222, allocations: 35.86 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.01275, allocations: 235.2 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01275, allocations: 0 / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01276, allocations: 4 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01276, allocations: 0 / 447.4 MB, free: 0.543 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.0009815/0.01374, allocations: 432.9 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.01378, allocations: 8.031 kB / 447.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.01387, allocations: 20.8 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2432/0.2571, allocations: 184.2 kB / 448 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2571, allocations: 2.328 kB / 448 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2572, allocations: 5.062 kB / 448 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.2575, allocations: 153.7 kB / 448.2 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2575, allocations: 4.312 kB / 448.2 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2575, allocations: 2.625 kB / 448.2 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2575, allocations: 1.656 kB / 448.2 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2576, allocations: 34.36 kB / 448.2 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.2579, allocations: 166 kB / 448.4 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2581, allocations: 110.8 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2583, allocations: 41.44 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2583, allocations: 1.125 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.2585, allocations: 113.5 kB / 448.6 MB, free: 18.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.2585, allocations: 0 / 448.6 MB, free: 18.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005089/0.2591, allocations: 176.5 kB / 448.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.2591, allocations: 135.5 kB / 448.9 MB, free: 18.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2594, allocations: 247.2 kB / 449.2 MB, free: 18.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2594, allocations: 27.72 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.2595, allocations: 120.4 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.2595, allocations: 34.48 kB / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.2596, allocations: 29.62 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.2596, allocations: 333.9 kB / 449.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.2597, allocations: 31.66 kB / 449.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2599, allocations: 123.8 kB / 449.9 MB, free: 18.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2601, allocations: 94.08 kB / 450 MB, free: 17.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2601, allocations: 4.672 kB / 450 MB, free: 17.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002809/0.2603, allocations: 143.6 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2604, allocations: 5.781 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2604, allocations: 1.219 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2604, allocations: 3.469 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2605, allocations: 25.12 kB / 450.1 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2605, allocations: 0.9062 kB / 450.1 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.2606, allocations: 6.938 kB / 450.1 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2606, allocations: 8.938 kB / 450.2 MB, free: 17.87 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 9.698e-05/0.2607, allocations: 139.6 kB / 450.3 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.2608, allocations: 21.72 kB / 450.3 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.2611, allocations: 163.9 kB / 450.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2611, allocations: 1.344 kB / 450.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2611, allocations: 3.453 kB / 450.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2611, allocations: 6.297 kB / 450.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.2613, allocations: 158.1 kB / 450.6 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2613, allocations: 0.6094 kB / 450.6 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.2613, allocations: 14.38 kB / 450.6 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2613, allocations: 0.9688 kB / 450.6 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2614, allocations: 11.39 kB / 450.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2614, allocations: 1.219 kB / 450.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2614, allocations: 2.531 kB / 450.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.2617, allocations: 190.8 kB / 450.9 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2617, allocations: 21.12 kB / 450.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.2618, allocations: 7.812 kB / 450.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.2618, allocations: 5.422 kB / 450.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.2619, allocations: 16.48 kB / 450.9 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2619, allocations: 6.234 kB / 450.9 MB, free: 17.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.2621, allocations: 184.4 kB / 451.1 MB, free: 17.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2621, allocations: 0 / 451.1 MB, free: 17.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.2625, allocations: 55.17 kB / 451.1 MB, free: 17.26 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001881/0.2643, allocations: 0.5302 MB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.2646, allocations: 92.8 kB / 451.8 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2646, allocations: 1.156 kB / 451.8 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2647, allocations: 42.28 kB / 451.8 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.2651, allocations: 56.77 kB / 451.9 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.2656, allocations: 290.9 kB / 452.1 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.2657, allocations: 112.4 kB / 452.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.827e-05/0.2658, allocations: 34.7 kB / 452.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.2659, allocations: 30.39 kB / 452.3 MB, free: 16.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2659, allocations: 1.812 kB / 452.3 MB, free: 16.66 MB / 366.1 MB Notification: Performance of Templates: time 0.008266/0.2741, allocations: 3.403 MB / 455.7 MB, free: 16.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.230882357805967]