Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.0009154/0.0009154, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001253/0.001253, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2958/0.2958, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 376.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.949e-05, allocations: 14.19 kB / 376.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002789/0.002818, allocations: 1.754 MB / 377.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004269, allocations: 1.005 MB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.004355, allocations: 4 kB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.004666, allocations: 51.69 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.004966, allocations: 99.47 kB / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.00515, allocations: 83.66 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.00533, allocations: 107.6 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.005424, allocations: 11.98 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005586, allocations: 55.77 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.005658, allocations: 19.92 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.005675, allocations: 4 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.005767, allocations: 51.91 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.005826, allocations: 27.86 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.005868, allocations: 15.94 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.006075, allocations: 111.6 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006078, allocations: 0 / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006079, allocations: 8 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.006084, allocations: 0 / 379.5 MB, free: 1.441 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.0005011/0.006585, allocations: 463.7 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.006623, allocations: 8.031 kB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.006679, allocations: 16.84 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.006867, allocations: 153.2 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.006885, allocations: 384 / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006907, allocations: 8.375 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.007037, allocations: 58.94 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007048, allocations: 3.938 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.007059, allocations: 11.98 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.007067, allocations: 0 / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.007112, allocations: 11.94 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.007434, allocations: 295.8 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.007549, allocations: 55.16 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.007583, allocations: 15.62 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.007595, allocations: 0 / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.007708, allocations: 76.98 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.007709, allocations: 7.938 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004407/0.00815, allocations: 161.8 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.008184, allocations: 51.41 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.008362, allocations: 259.1 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.008376, allocations: 25.7 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.008442, allocations: 158.9 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.008473, allocations: 27.78 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.008515, allocations: 31.38 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.008635, allocations: 0.4962 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.008669, allocations: 16.05 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.008715, allocations: 39.36 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.008787, allocations: 55.05 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008788, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001317/0.00892, allocations: 85.59 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.008935, allocations: 11.94 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.008942, allocations: 3.984 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.008955, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.009041, allocations: 16 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009046, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.009081, allocations: 4.031 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.009089, allocations: 4 kB / 382.1 MB, free: 14.62 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 8.121e-05/0.00917, allocations: 168.5 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.009191, allocations: 15.91 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.009368, allocations: 107.2 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009369, allocations: 4 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.009372, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009376, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.009846, allocations: 400.9 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.009848, allocations: 4.031 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.009882, allocations: 11.98 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009886, allocations: 7.938 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.009895, allocations: 4 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.009897, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009898, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.01008, allocations: 267.4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.01009, allocations: 7.953 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01012, allocations: 7.922 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.01018, allocations: 8 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.01021, allocations: 3.984 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01023, allocations: 11.94 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.01033, allocations: 179.2 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01033, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.01059, allocations: 35.88 kB / 383.3 MB, free: 13.32 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.001101/0.01169, allocations: 432 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01182, allocations: 51.59 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01182, allocations: 0 / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/0.01187, allocations: 35.73 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01218, allocations: 27.98 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.0126, allocations: 245.4 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01265, allocations: 71.33 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.01269, allocations: 13.28 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.01272, allocations: 24.48 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01272, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004153/0.01688, allocations: 1.893 MB / 386.1 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.214116080896929]