Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001013/0.001013, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001062/0.001062, allocations: 167.1 kB / 24.82 MB, free: 8.863 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.228/1.228, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.3776/0.3776, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.232e-05, allocations: 2.312 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002523/0.002545, allocations: 1.77 MB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003894, allocations: 0.9975 MB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.003968, allocations: 3.938 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.004218, allocations: 87.67 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.004466, allocations: 123.4 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.00462, allocations: 83.59 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.004767, allocations: 119.6 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.004845, allocations: 15.97 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.004937, allocations: 63.83 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.005021, allocations: 55.86 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.005034, allocations: 4 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.005126, allocations: 67.84 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.00517, allocations: 27.86 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.005208, allocations: 19.94 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.00539, allocations: 115.6 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005392, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005392, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005396, allocations: 0 / 382.1 MB, free: 14.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004545/0.005851, allocations: 475.6 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005886, allocations: 8.031 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.005923, allocations: 24.78 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.006071, allocations: 156.4 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.006084, allocations: 384 / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.0061, allocations: 4.375 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.006213, allocations: 66.88 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.006225, allocations: 3.938 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.006231, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.006237, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.006264, allocations: 19.98 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.00652, allocations: 272.4 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006651, allocations: 55.02 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.006672, allocations: 15.69 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.006687, allocations: 3.938 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.461e-05/0.006781, allocations: 77.09 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.006784, allocations: 3.984 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004078/0.007191, allocations: 201.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.007219, allocations: 55.41 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007356, allocations: 234.7 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.007372, allocations: 29.7 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.007439, allocations: 162.8 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.007469, allocations: 35.72 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.007507, allocations: 31.36 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.007657, allocations: 0.5039 MB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.007678, allocations: 15.98 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.007716, allocations: 38.23 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/0.007781, allocations: 67.22 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007782, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001115/0.007894, allocations: 101.5 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.007905, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00791, allocations: 3.984 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007924, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.007976, allocations: 20 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.00798, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.008008, allocations: 7.984 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.008013, allocations: 4.031 kB / 384.8 MB, free: 11.82 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 (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 9.448e-05/0.008108, allocations: 172 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.008126, allocations: 15.91 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.008277, allocations: 127 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.008281, allocations: 3.984 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008282, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008287, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.008594, allocations: 413.1 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008595, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.008624, allocations: 16.06 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.008627, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.008637, allocations: 3.984 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.00864, allocations: 7.938 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008642, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.008806, allocations: 275.1 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.008821, allocations: 15.89 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.00884, allocations: 12 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.008881, allocations: 7.984 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.008915, allocations: 11.92 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.008925, allocations: 11.94 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.008999, allocations: 169 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008999, allocations: 0 / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.009168, allocations: 39.92 kB / 386.1 MB, free: 10.46 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 (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.001036/0.0102, allocations: 484.8 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01031, allocations: 63.53 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01031, allocations: 0 / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.01035, allocations: 39.59 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.01057, allocations: 39.14 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.0109, allocations: 272.4 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.01095, allocations: 71.33 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01099, allocations: 24.81 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.01106, allocations: 90.19 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01106, allocations: 0 / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Templates: time 0.004082/0.01515, allocations: 2.318 MB / 389.4 MB, free: 7.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.681440042797476]