Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.002033/0.002033, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002902/0.002902, allocations: 161.7 kB / 24.27 MB, free: 172 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.608/1.608, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3706/0.3706, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.578e-05/3.794e-05, allocations: 13.34 kB / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004197/0.004235, allocations: 2.175 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.006918, allocations: 1.279 MB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.007068, allocations: 7.875 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.007542, allocations: 135.3 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006603/0.008202, allocations: 262.8 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.008674, allocations: 195.5 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.009307, allocations: 478.4 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.009454, allocations: 41.25 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/0.00999, allocations: 387.1 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.01022, allocations: 139.5 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.01027, allocations: 16 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01044, allocations: 83.84 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.01064, allocations: 155.4 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.01079, allocations: 103.5 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.01144, allocations: 474.1 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01144, allocations: 0 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01144, allocations: 0 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01145, allocations: 0 / 381.2 MB, free: 14.99 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001329/0.01278, allocations: 0.8224 MB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.01282, allocations: 15.98 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.01298, allocations: 80.47 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.01363, allocations: 390.2 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01365, allocations: 12.38 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.0137, allocations: 20.31 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.01414, allocations: 198 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.01417, allocations: 7.891 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.0142, allocations: 7.984 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.0142, allocations: 4 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.01455, allocations: 103.8 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01563, allocations: 0.7427 MB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.01638, allocations: 242.5 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.01661, allocations: 87.52 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.01663, allocations: 4 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.01706, allocations: 212.4 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.877e-06/0.01707, allocations: 4 kB / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003092/0.02016, allocations: 1.238 MB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.02027, allocations: 132.5 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.02153, allocations: 0.9732 MB / 386.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.02158, allocations: 41.64 kB / 386.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.02187, allocations: 285 kB / 386.8 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.02203, allocations: 154.8 kB / 387 MB, free: 9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.02216, allocations: 78.14 kB / 387 MB, free: 8.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.02236, allocations: 329.9 kB / 387.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.02263, allocations: 120.9 kB / 387.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.02297, allocations: 191.7 kB / 387.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.02359, allocations: 323.1 kB / 388 MB, free: 7.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02359, allocations: 3.938 kB / 388 MB, free: 7.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009137/0.0245, allocations: 480.8 kB / 388.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.02452, allocations: 4 kB / 388.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02453, allocations: 4 kB / 388.5 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.02455, allocations: 4 kB / 388.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.02487, allocations: 92.02 kB / 388.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.02488, allocations: 7.938 kB / 388.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.02505, allocations: 15.98 kB / 388.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.02508, allocations: 16 kB / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003162/0.0254, allocations: 260.1 kB / 388.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.02554, allocations: 95.48 kB / 389 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.02668, allocations: 0.5266 MB / 389.5 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.02669, allocations: 12 kB / 389.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.0267, allocations: 0 / 389.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.02671, allocations: 3.984 kB / 389.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.02869, allocations: 1.271 MB / 390.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.0287, allocations: 4 kB / 390.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.02889, allocations: 68.16 kB / 390.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.0289, allocations: 12 kB / 390.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.02893, allocations: 12 kB / 390.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.02894, allocations: 11.92 kB / 390.9 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.02895, allocations: 4 kB / 390.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.03009, allocations: 0.8456 MB / 391.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.03044, allocations: 107.5 kB / 391.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/0.03051, allocations: 16 kB / 391.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.03082, allocations: 23.98 kB / 391.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.03093, allocations: 47.81 kB / 391.9 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.03098, allocations: 23.98 kB / 391.9 MB, free: 3.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008919/0.03187, allocations: 0.7138 MB / 392.6 MB, free: 3.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03187, allocations: 0 / 392.6 MB, free: 3.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000547/0.03242, allocations: 91.94 kB / 392.7 MB, free: 3.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002614/0.03503, allocations: 0.5672 MB / 393.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.0358, allocations: 327 kB / 393.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0358, allocations: 0 / 393.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.03614, allocations: 155.7 kB / 393.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.03716, allocations: 147.6 kB / 393.9 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.03924, allocations: 1.256 MB / 395.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.03964, allocations: 329.9 kB / 395.5 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.03985, allocations: 75.25 kB / 395.6 MB, free: 364 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.03999, allocations: 56.47 kB / 395.6 MB, free: 308 kB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03999, allocations: 0 / 395.6 MB, free: 308 kB / 362.7 MB Notification: Performance of Templates: time 0.0128/0.05278, allocations: 5.799 MB / 401.4 MB, free: 10.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.216024045017548]