Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3513/0.3513, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.066e-05, allocations: 6.25 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003537/0.003568, allocations: 1.765 MB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.005547, allocations: 1.017 MB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.005622, allocations: 0 / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.005998, allocations: 103.6 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.006372, allocations: 123.5 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.006596, allocations: 87.59 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.006827, allocations: 143.6 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.006928, allocations: 21.52 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.007151, allocations: 75.75 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.007289, allocations: 67.84 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.007318, allocations: 8 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.00745, allocations: 59.92 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.007535, allocations: 39.83 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.007596, allocations: 31.86 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.007889, allocations: 155.4 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.007892, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007893, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.007898, allocations: 4 kB / 381.1 MB, free: 15.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007254/0.008624, allocations: 499.2 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.008661, allocations: 8.031 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.008725, allocations: 16.84 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.008999, allocations: 173.3 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.009021, allocations: 4.312 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.00905, allocations: 8.375 kB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.009223, allocations: 66.22 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.009241, allocations: 7.875 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.009252, allocations: 4 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.009256, allocations: 4 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.009372, allocations: 35.97 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.009919, allocations: 347.5 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.01024, allocations: 82.97 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.01031, allocations: 27.67 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.01033, allocations: 7.984 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.0105, allocations: 80.98 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.01051, allocations: 0 / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001016/0.01152, allocations: 321.1 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.01157, allocations: 55.41 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01188, allocations: 286.8 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.01192, allocations: 29.7 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.01205, allocations: 174.8 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.01212, allocations: 47.64 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.01219, allocations: 39.36 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003147/0.0125, allocations: 0.5118 MB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.0126, allocations: 39.97 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.01271, allocations: 63.3 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.01293, allocations: 114.8 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01293, allocations: 4 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004805/0.01341, allocations: 161.6 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01343, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01343, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01345, allocations: 4.109 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01356, allocations: 31.86 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01356, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.01362, allocations: 11.98 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.01364, allocations: 7.938 kB / 384.3 MB, free: 11.71 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 (16): * Single equations (assignments): 16 * 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.0001562/0.01379, allocations: 168.6 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.01384, allocations: 19.91 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.01426, allocations: 198.9 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01426, allocations: 0 / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01426, allocations: 0 / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01427, allocations: 0 / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.01508, allocations: 0.5241 MB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01508, allocations: 3.984 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.01516, allocations: 23.94 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01516, allocations: 4.062 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.01519, allocations: 11.94 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.01519, allocations: 3.984 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01519, allocations: 0 / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.01563, allocations: 342.5 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.01567, allocations: 23.78 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.0157, allocations: 4 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.01579, allocations: 4 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01584, allocations: 15.97 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.01586, allocations: 8 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.01605, allocations: 205.4 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01605, allocations: 0 / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01632, allocations: 39.92 kB / 385.9 MB, free: 10.04 MB / 362.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 (16): * Single equations (assignments): 14 * 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.003817/0.02014, allocations: 0.5448 MB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.02045, allocations: 115.6 kB / 386.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02045, allocations: 0 / 386.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.02058, allocations: 63.53 kB / 386.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.02098, allocations: 48.06 kB / 386.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.02166, allocations: 317.8 kB / 386.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.0218, allocations: 115.4 kB / 387.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.02187, allocations: 25.47 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.02193, allocations: 24.48 kB / 387.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02193, allocations: 0 / 387.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of Templates: time 0.006538/0.02847, allocations: 2.349 MB / 389.5 MB, free: 6.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.062075085006654]