Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008894/0.0008894, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008761/0.0008761, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 0.9151/0.9151, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2377/0.2377, allocations: 34.86 MB / 296.6 MB, free: 0.5625 MB / 266.7 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.817e-05, allocations: 2.312 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002007/0.002026, allocations: 1.767 MB / 380.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003148, allocations: 1.012 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.003221, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.0035, allocations: 59.67 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.003749, allocations: 103.5 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.003889, allocations: 83.53 kB / 381.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.004034, allocations: 99.7 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.004119, allocations: 11.97 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.00419, allocations: 55.78 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.004253, allocations: 27.91 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.004268, allocations: 4 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.004341, allocations: 47.91 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.004391, allocations: 31.86 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.004431, allocations: 15.94 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004592, allocations: 123.6 kB / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004594, allocations: 0 / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004595, allocations: 0 / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004599, allocations: 0 / 382.3 MB, free: 14.88 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.0004302/0.005029, allocations: 475.6 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.00506, allocations: 12.03 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.005105, allocations: 16.84 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.005515, allocations: 165.2 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.005535, allocations: 12.36 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005552, allocations: 384 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005663, allocations: 66.94 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005672, allocations: 192 / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.005681, allocations: 384 / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.005689, allocations: 3.938 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.318e-05/0.005722, allocations: 19.92 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.005997, allocations: 299.8 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.606e-05/0.006093, allocations: 47.17 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.006123, allocations: 23.67 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.006134, allocations: 3.938 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.163e-05/0.006226, allocations: 76.92 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.006227, allocations: 0 / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003684/0.006596, allocations: 165.3 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.006625, allocations: 51.41 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.006778, allocations: 273.6 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.00679, allocations: 29.7 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.006849, allocations: 162.9 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.006876, allocations: 31.77 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.006907, allocations: 27.38 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.007015, allocations: 0.5079 MB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.007036, allocations: 12 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.00707, allocations: 35.36 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.007125, allocations: 51.3 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007126, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.97e-05/0.007226, allocations: 97.47 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007238, allocations: 8 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007243, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.007254, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.007327, allocations: 15.98 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007332, allocations: 8.031 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.007359, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.007365, allocations: 4.375 kB / 384.9 MB, free: 12 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 6.608e-05/0.007432, allocations: 163 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.007448, allocations: 19.84 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.007587, allocations: 111 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007589, allocations: 0 / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.007593, allocations: 4 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007597, allocations: 3.984 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.007865, allocations: 409 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007866, allocations: 0 / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.007892, allocations: 15.92 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007894, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007902, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007903, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007905, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.008035, allocations: 263.3 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.008046, allocations: 11.91 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.008063, allocations: 4 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.008106, allocations: 8.016 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.008136, allocations: 8 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.008149, allocations: 7.984 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.008241, allocations: 196.5 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008241, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008413, allocations: 27.94 kB / 386.2 MB, free: 10.68 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.0008452/0.009258, allocations: 424.9 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.00937, allocations: 59.53 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.009373, allocations: 4.062 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.009413, allocations: 39.59 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.009639, allocations: 31.98 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.009996, allocations: 258.5 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.01004, allocations: 71.33 kB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01008, allocations: 17.27 kB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.01011, allocations: 20.5 kB / 387.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01011, allocations: 4.062 kB / 387.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Templates: time 0.003627/0.01374, allocations: 1.886 MB / 389 MB, free: 7.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0688945890869945]