Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000889/0.000889, 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.0009349/0.0009349, allocations: 165.6 kB / 24.82 MB, free: 8.922 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 0.9474/0.9474, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2527/0.2527, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.369e-05, allocations: 2.312 kB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002047/0.00206, allocations: 1.803 MB / 378.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003207, allocations: 1.001 MB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.003283, allocations: 0 / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.003574, allocations: 107.6 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.003866, allocations: 131.4 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.004045, allocations: 91.53 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004201, allocations: 135.6 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.004287, allocations: 17.58 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.004379, allocations: 79.73 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.004473, allocations: 63.86 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.004488, allocations: 8 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.004582, allocations: 71.89 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.00463, allocations: 31.86 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.004668, allocations: 23.92 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.004839, allocations: 143.4 kB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00484, allocations: 0 / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004841, allocations: 0 / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.004844, allocations: 0 / 380.3 MB, free: 0.5898 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005113/0.005356, allocations: 491.5 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.005391, allocations: 8.031 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.005433, allocations: 24.8 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.00559, allocations: 169.3 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005606, allocations: 4.375 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.005625, allocations: 12.31 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005731, allocations: 70.92 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.005741, allocations: 3.938 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.005747, allocations: 0 / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.005752, allocations: 0 / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.005789, allocations: 19.97 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.006047, allocations: 292.3 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.006185, allocations: 62.97 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.00621, allocations: 31.72 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.006225, allocations: 8.094 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/0.006316, allocations: 69.02 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.006317, allocations: 3.938 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004494/0.006766, allocations: 241.3 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.00679, allocations: 59.34 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.006921, allocations: 262.7 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006936, allocations: 33.7 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.007131, allocations: 166.8 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.007167, allocations: 55.56 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.007206, allocations: 39.36 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.007324, allocations: 0.5039 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.00735, allocations: 19.98 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.007388, allocations: 39.34 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/0.007452, allocations: 71.34 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007453, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001258/0.007579, allocations: 140.8 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.007589, allocations: 8.031 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007594, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007606, allocations: 4 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.007669, allocations: 27.92 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.007672, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.007698, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007706, allocations: 8 kB / 383.2 MB, free: 13.47 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 7.207e-05/0.007778, allocations: 168 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.007797, allocations: 15.91 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.007972, allocations: 163 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007974, allocations: 4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.007977, allocations: 4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.00798, allocations: 0 / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.008303, allocations: 457.1 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.008306, allocations: 4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.008346, allocations: 23.92 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008349, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.008356, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008359, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.00836, allocations: 8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.008531, allocations: 311 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.008545, allocations: 11.91 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.008565, allocations: 11.98 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.008609, allocations: 7.938 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.008636, allocations: 11.98 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.00865, allocations: 7.984 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.008723, allocations: 185.4 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008723, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.008908, allocations: 35.94 kB / 384.6 MB, free: 11.98 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.0009507/0.009858, allocations: 490.2 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.009974, allocations: 75.45 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009977, allocations: 4 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.01002, allocations: 51.59 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01025, allocations: 39.95 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.01058, allocations: 305.8 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.01062, allocations: 79.81 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.01067, allocations: 25.47 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.01075, allocations: 102.3 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01075, allocations: 3.938 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.004169/0.01492, allocations: 2.592 MB / 388.3 MB, free: 8.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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: 2.929800020996481]