Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001104/0.001104, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001352/0.001352, allocations: 166.7 kB / 25.61 MB, free: 8.445 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.013/1.013, allocations: 177 MB / 205.9 MB, free: 4.453 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.1573/0.1573, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.115e-05, allocations: 4.422 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003943/0.003974, allocations: 1.767 MB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005466, allocations: 0.9969 MB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.00555, allocations: 0 / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.005847, allocations: 95.56 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.006158, allocations: 119.5 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.006353, allocations: 79.61 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.006511, allocations: 127.5 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.006597, allocations: 15.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.006689, allocations: 67.81 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.006785, allocations: 71.84 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.006799, allocations: 4 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.006899, allocations: 55.92 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.006951, allocations: 35.84 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.006983, allocations: 15.94 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.007159, allocations: 123.5 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007163, allocations: 0 / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.007164, allocations: 0 / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.007168, allocations: 0 / 383.7 MB, free: 19.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003579/0.007526, allocations: 475.6 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.007558, allocations: 16.03 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.007597, allocations: 16.84 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.007724, allocations: 157.2 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007739, allocations: 384 / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.007755, allocations: 4.375 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.007853, allocations: 70.91 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007863, allocations: 4.172 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.007871, allocations: 384 / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.007877, allocations: 7.938 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.007907, allocations: 15.98 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.008146, allocations: 272.3 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.008287, allocations: 58.95 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.008309, allocations: 15.69 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.00832, allocations: 128 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.713e-05/0.008407, allocations: 76.91 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.008409, allocations: 0 / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004489/0.008858, allocations: 201.3 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.008879, allocations: 51.41 kB / 385.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.00899, allocations: 256.9 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.009, allocations: 25.7 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.009041, allocations: 162.8 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.009073, allocations: 43.67 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.009114, allocations: 35.36 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.009163, allocations: 0.4962 MB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.009184, allocations: 15.98 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.009217, allocations: 38.34 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/0.009275, allocations: 55.31 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009276, allocations: 4 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001229/0.009399, allocations: 109.2 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.009411, allocations: 8 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.009415, allocations: 3.938 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.009425, allocations: 0 / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.009491, allocations: 23.98 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.009494, allocations: 0 / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.009528, allocations: 4 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.009536, allocations: 4 kB / 386.3 MB, free: 16.16 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 (13): * Single equations (assignments): 13 * 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.752e-05/0.009593, allocations: 160.6 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.009616, allocations: 31.86 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.009783, allocations: 127.7 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009785, allocations: 0 / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009787, allocations: 0 / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.00979, allocations: 0 / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.01007, allocations: 417.1 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01007, allocations: 0 / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.01011, allocations: 15.98 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01011, allocations: 4 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01012, allocations: 4.062 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01012, allocations: 4 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01012, allocations: 0 / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.01025, allocations: 283 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.01027, allocations: 15.91 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01029, allocations: 4 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.01035, allocations: 4 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.01037, allocations: 7.984 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.01039, allocations: 4 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.732e-05/0.01044, allocations: 175.1 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01044, allocations: 4 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.0107, allocations: 43.86 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009578/0.01166, allocations: 480 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01177, allocations: 63.58 kB / 388.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01177, allocations: 0 / 388.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.01181, allocations: 35.61 kB / 388.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01202, allocations: 31.97 kB / 388.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.01231, allocations: 269.4 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.01234, allocations: 71.33 kB / 388.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.01237, allocations: 28.75 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.01243, allocations: 94.19 kB / 388.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01243, allocations: 0 / 388.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Templates: time 0.005025/0.01746, allocations: 2.346 MB / 391 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.3784409798681736]