Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001369/0.001369, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.002146/0.002146, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.283/0.283, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.084e-05/4.358e-05, allocations: 9.344 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003833/0.003876, allocations: 1.758 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.005601, allocations: 0.9936 MB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.005726, allocations: 0 / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.006085, allocations: 43.75 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.006472, allocations: 107.4 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.006761, allocations: 75.67 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.006973, allocations: 107.6 kB / 379.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.007074, allocations: 7.984 kB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.007197, allocations: 51.84 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.007285, allocations: 27.91 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.007302, allocations: 4 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.007413, allocations: 47.86 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.007475, allocations: 27.91 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.007525, allocations: 27.86 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.007754, allocations: 99.66 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.007759, allocations: 0 / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007761, allocations: 0 / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.007767, allocations: 0 / 379.9 MB, free: 0.9297 MB / 346.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.0005631/0.00833, allocations: 455.8 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.008379, allocations: 8.031 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.00843, allocations: 12.89 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.008637, allocations: 160.8 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.008657, allocations: 384 / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.008678, allocations: 12.31 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.008824, allocations: 58.94 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.008839, allocations: 11.92 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.008848, allocations: 3.984 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.008854, allocations: 0 / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.008885, allocations: 4 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.009255, allocations: 264.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.009379, allocations: 51.16 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.009405, allocations: 15.69 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.009425, allocations: 4 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.009566, allocations: 68.98 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.009568, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004553/0.01002, allocations: 145.7 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.01006, allocations: 55.34 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.01024, allocations: 229.8 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01026, allocations: 25.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.01035, allocations: 158.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.01038, allocations: 19.8 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.01043, allocations: 35.34 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.01061, allocations: 0.5001 MB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.01064, allocations: 8.062 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.01069, allocations: 39.34 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.01075, allocations: 47.28 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01076, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001517/0.01091, allocations: 89.53 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.01093, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01094, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01095, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.01104, allocations: 27.95 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.01105, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.01109, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.0111, allocations: 4 kB / 382.4 MB, free: 14.23 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.0001085/0.01121, allocations: 160.6 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01124, allocations: 19.84 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.01144, allocations: 107.2 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01144, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01144, allocations: 3.938 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01145, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.01187, allocations: 369.6 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01187, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.01191, allocations: 8 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01192, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01193, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01193, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01193, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.01216, allocations: 251.4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.01218, allocations: 15.94 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01221, allocations: 4.031 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.01228, allocations: 7.938 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.01232, allocations: 7.984 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.01235, allocations: 8 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01245, allocations: 168.2 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01245, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01272, allocations: 27.92 kB / 383.6 MB, free: 13.02 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.001328/0.01405, allocations: 436.3 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.0142, allocations: 51.59 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0142, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.336e-05/0.01425, allocations: 39.59 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.0146, allocations: 39.84 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.01506, allocations: 217.9 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.01511, allocations: 75.33 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.01516, allocations: 17.27 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.01526, allocations: 90.31 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.093e-06/0.01526, allocations: 0 / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005182/0.02044, allocations: 2.037 MB / 386.5 MB, free: 10.15 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.155183826107532]