Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001103/0.001103, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001141/0.001141, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 1.066/1.066, allocations: 177 MB / 205.9 MB, free: 4.457 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.1801/0.1801, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.452e-05, allocations: 3.297 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002539/0.002564, allocations: 1.752 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003741, allocations: 0.993 MB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003849, allocations: 7.875 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.004187, allocations: 35.83 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.004522, allocations: 103.4 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.004714, allocations: 79.66 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.004859, allocations: 111.6 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.004951, allocations: 4 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.005027, allocations: 55.83 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.005103, allocations: 31.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.005119, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.005195, allocations: 47.91 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.005241, allocations: 23.92 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.005272, allocations: 19.88 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.005417, allocations: 99.59 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005419, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00542, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005425, allocations: 4 kB / 383.5 MB, free: 19.29 MB / 314.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.0003638/0.005788, allocations: 439.9 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005819, allocations: 8.031 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.005856, allocations: 24.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005982, allocations: 154.5 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.005998, allocations: 384 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.006018, allocations: 8.359 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.00613, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.006142, allocations: 4.188 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.00615, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.006159, allocations: 3.938 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.006185, allocations: 4 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.006426, allocations: 272.3 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.006517, allocations: 51.11 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.006541, allocations: 15.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.006556, allocations: 4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.006664, allocations: 65.03 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.006665, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003434/0.007009, allocations: 145.7 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.007037, allocations: 51.41 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.007141, allocations: 230.8 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.007153, allocations: 37.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.007196, allocations: 150.8 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.007226, allocations: 23.78 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.007262, allocations: 31.36 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.007334, allocations: 0.4962 MB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.007351, allocations: 12.05 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.00738, allocations: 35.34 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.007425, allocations: 43.44 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007426, allocations: 0 / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.863e-05/0.007525, allocations: 97.45 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.007537, allocations: 7.984 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007543, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.007555, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.007624, allocations: 15.94 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.007627, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.007656, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007661, allocations: 3.984 kB / 385.9 MB, free: 16.61 MB / 314.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 5.487e-05/0.007716, allocations: 160.6 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.007732, allocations: 19.84 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.007866, allocations: 107.1 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007868, allocations: 0 / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.00787, allocations: 0 / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.007875, allocations: 4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.008132, allocations: 357.6 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.008135, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.008163, allocations: 15.98 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008166, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.008172, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008174, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008175, allocations: 8.031 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008292, allocations: 255.6 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.008304, allocations: 11.94 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.00832, allocations: 4 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.008361, allocations: 11.92 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.008391, allocations: 7.938 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.008405, allocations: 7.984 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.008454, allocations: 163.1 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008454, allocations: 0 / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.008647, allocations: 27.94 kB / 387.1 MB, free: 15.39 MB / 314.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.001043/0.00969, allocations: 439.9 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.009785, allocations: 43.61 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009786, allocations: 0 / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.009815, allocations: 27.67 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01005, allocations: 35.91 kB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.01031, allocations: 219.8 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.71e-05/0.01034, allocations: 75.33 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.01037, allocations: 13.28 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.01043, allocations: 90.19 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01043, allocations: 0 / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003211/0.01364, allocations: 2.066 MB / 390 MB, free: 12.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.333494651596993]