Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001363/0.001363, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001476/0.001476, allocations: 169.3 kB / 24.27 MB, free: 144 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.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3588/0.3588, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.Test88,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.835e-05/4.108e-05, allocations: 2.312 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.007094/0.007135, allocations: 2.163 MB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.01183, allocations: 1.271 MB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.01226, allocations: 3.938 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.01302, allocations: 127.3 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.01427, allocations: 250.8 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.0153, allocations: 199.4 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.01671, allocations: 470.5 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.01704, allocations: 37.27 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.01819, allocations: 351.1 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.01861, allocations: 139.5 kB / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01873, allocations: 24 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.01906, allocations: 71.92 kB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.01935, allocations: 143.4 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.01958, allocations: 87.59 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.02063, allocations: 426.3 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.02064, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.02064, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.02067, allocations: 3.938 kB / 383.1 MB, free: 13.11 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.002545/0.02322, allocations: 0.7605 MB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.685e-05/0.02329, allocations: 12.03 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.0236, allocations: 80.45 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.02471, allocations: 358.4 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.02475, allocations: 8.375 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/0.02484, allocations: 20.36 kB / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.02554, allocations: 202 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.02559, allocations: 7.891 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.02563, allocations: 8 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.02564, allocations: 0 / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.02607, allocations: 111.8 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.0278, allocations: 0.7194 MB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.02883, allocations: 242.4 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.02914, allocations: 83.52 kB / 385.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.02918, allocations: 12 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006154/0.0298, allocations: 208.3 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.0298, allocations: 0 / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.004293/0.03409, allocations: 1.183 MB / 387.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.03425, allocations: 140.5 kB / 387.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.03605, allocations: 0.8049 MB / 388 MB, free: 7.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.03613, allocations: 37.7 kB / 388.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.0365, allocations: 249 kB / 388.3 MB, free: 7.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.03681, allocations: 146.8 kB / 388.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.03701, allocations: 74.19 kB / 388.5 MB, free: 7.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.03736, allocations: 382.7 kB / 388.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.03778, allocations: 120.9 kB / 389 MB, free: 6.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.03829, allocations: 195.8 kB / 389.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.03926, allocations: 323 kB / 389.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.03926, allocations: 0 / 389.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001274/0.04053, allocations: 480.8 kB / 390 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.04057, allocations: 8 kB / 390 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.04058, allocations: 0 / 390 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.04061, allocations: 4 kB / 390 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.0411, allocations: 91.89 kB / 390.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.04113, allocations: 7.938 kB / 390.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.04144, allocations: 23.98 kB / 390.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.0415, allocations: 12 kB / 390.1 MB, free: 5.746 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.0004451/0.04195, allocations: 232.1 kB / 390.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.04218, allocations: 87.59 kB / 390.5 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.04388, allocations: 0.531 MB / 391 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.0439, allocations: 8 kB / 391 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.04391, allocations: 0 / 391 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.04392, allocations: 3.984 kB / 391 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.04691, allocations: 1.24 MB / 392.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.04692, allocations: 4 kB / 392.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.04723, allocations: 67.91 kB / 392.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.04725, allocations: 4 kB / 392.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.04729, allocations: 12 kB / 392.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/0.04731, allocations: 15.92 kB / 392.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.04731, allocations: 0 / 392.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.04861, allocations: 0.842 MB / 393.2 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.04883, allocations: 103.5 kB / 393.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/0.04893, allocations: 16 kB / 393.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.04924, allocations: 23.92 kB / 393.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.04937, allocations: 43.81 kB / 393.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.04943, allocations: 27.98 kB / 393.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.05026, allocations: 0.5928 MB / 394 MB, free: 1.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05026, allocations: 0 / 394 MB, free: 1.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.0509, allocations: 87.94 kB / 394.1 MB, free: 1.688 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.002801/0.0537, allocations: 0.5634 MB / 394.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008442/0.05454, allocations: 323 kB / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.05455, allocations: 0 / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.05494, allocations: 164.4 kB / 395.1 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.05602, allocations: 133.9 kB / 395.2 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.05823, allocations: 1.108 MB / 396.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.05867, allocations: 296.9 kB / 396.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.05892, allocations: 79.23 kB / 396.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.05908, allocations: 60.47 kB / 396.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05908, allocations: 0 / 396.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01356/0.07264, allocations: 5.748 MB / 402.5 MB, free: 9.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.068254270008765]