Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.002041/0.002041, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002173/0.002173, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.562/1.562, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.4052/0.4052, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.317e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003554/0.003587, allocations: 1.731 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.005558, allocations: 1.001 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.00563, allocations: 0 / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.005969, allocations: 59.64 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.006336, allocations: 103.5 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.006544, allocations: 75.66 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.006743, allocations: 107.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.006833, allocations: 11.97 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.006956, allocations: 51.84 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.007042, allocations: 31.84 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.007066, allocations: 8 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.00717, allocations: 43.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.007236, allocations: 27.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.007292, allocations: 27.84 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.007535, allocations: 127.6 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.007539, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00754, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.007544, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 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.0006968/0.008241, allocations: 491.2 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.008273, allocations: 8.031 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.008333, allocations: 20.84 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.008592, allocations: 165.3 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.008611, allocations: 4.375 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.008631, allocations: 384 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.008777, allocations: 54.23 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.00879, allocations: 4.188 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.008799, allocations: 384 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.008809, allocations: 7.922 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.008885, allocations: 19.92 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.009342, allocations: 311.8 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.009527, allocations: 67.16 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.009584, allocations: 19.69 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.009599, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.009779, allocations: 84.91 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.00978, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.01036, allocations: 181.3 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.01041, allocations: 55.41 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.01073, allocations: 301.6 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01075, allocations: 25.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01089, allocations: 170.9 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.01092, allocations: 31.78 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.01098, allocations: 35.36 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.01126, allocations: 0.504 MB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.01131, allocations: 23.92 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.01139, allocations: 43.36 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01151, allocations: 63.31 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01151, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002158/0.01173, allocations: 113.8 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01174, allocations: 8 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01175, allocations: 4.031 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01176, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.01185, allocations: 16 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01185, allocations: 160 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.0119, allocations: 11.98 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01191, allocations: 4 kB / 383.5 MB, free: 12.38 MB / 362.7 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.0001266/0.01204, allocations: 162.8 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.01207, allocations: 19.84 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.01234, allocations: 127 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01234, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01235, allocations: 4 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.01235, allocations: 3.984 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.01291, allocations: 432.9 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.01292, allocations: 3.984 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.01296, allocations: 11.94 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01296, allocations: 4 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01297, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01297, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01298, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01329, allocations: 275.4 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.01332, allocations: 19.92 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01335, allocations: 8 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.01342, allocations: 4 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01345, allocations: 3.984 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01347, allocations: 4 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.01369, allocations: 204.5 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01369, allocations: 0 / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.01396, allocations: 31.92 kB / 384.8 MB, free: 11 MB / 362.7 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.003376/0.01734, allocations: 487.2 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01758, allocations: 75.53 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01758, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.01767, allocations: 39.61 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.01803, allocations: 30.17 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01861, allocations: 282.5 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.01873, allocations: 100.9 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.01879, allocations: 25.25 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.01884, allocations: 20.48 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01884, allocations: 0 / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005635/0.02447, allocations: 1.874 MB / 387.7 MB, free: 8.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.06558828195557]