Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009344/0.0009344, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009466/0.0009466, allocations: 165 kB / 24.56 MB, free: 16 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 0.9666/0.9666, allocations: 177.2 MB / 205 MB, free: 5.301 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.227/0.227, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.833e-05, allocations: 10.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.006011/0.00603, allocations: 2.265 MB / 378.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004808/0.01084, allocations: 1.301 MB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.01096, allocations: 11.88 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.01133, allocations: 123.3 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007128/0.01204, allocations: 250.7 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.01236, allocations: 203.4 kB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.01281, allocations: 474.4 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.01293, allocations: 37.27 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.01329, allocations: 351.2 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.0157, allocations: 135.5 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01582, allocations: 16 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.01605, allocations: 75.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.01622, allocations: 135.5 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01639, allocations: 107.5 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.017, allocations: 338.5 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01701, allocations: 7.938 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01701, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.01703, allocations: 0 / 381.9 MB, free: 14.76 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.001266/0.01829, allocations: 0.8682 MB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.01834, allocations: 8.031 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.01847, allocations: 72.52 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.0189, allocations: 361.2 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.01893, allocations: 12.38 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.01897, allocations: 20.36 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.0193, allocations: 189.5 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01932, allocations: 7.891 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.01934, allocations: 7.984 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.01936, allocations: 4 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.01948, allocations: 55.89 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.02035, allocations: 0.9297 MB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.0208, allocations: 236.4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.02091, allocations: 78.83 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.02092, allocations: 7.938 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.0212, allocations: 193.2 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.0212, allocations: 0 / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002195/0.02339, allocations: 1.059 MB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.02346, allocations: 136.5 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.02411, allocations: 0.6559 MB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.02416, allocations: 37.7 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.02431, allocations: 307.7 kB / 387.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.0244, allocations: 146.8 kB / 387.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.02448, allocations: 95.73 kB / 387.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.02465, allocations: 0.5625 MB / 387.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.02475, allocations: 68.95 kB / 388 MB, free: 8.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.02488, allocations: 158.4 kB / 388.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.02517, allocations: 253.6 kB / 388.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02518, allocations: 0 / 388.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004087/0.02559, allocations: 376.8 kB / 388.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.0256, allocations: 4 kB / 388.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02561, allocations: 7.984 kB / 388.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.02562, allocations: 4 kB / 388.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.0258, allocations: 83.91 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.02581, allocations: 7.938 kB / 388.9 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.0259, allocations: 19.98 kB / 388.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.02592, allocations: 12.12 kB / 388.9 MB, free: 7.371 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.0001304/0.02605, allocations: 202.9 kB / 389.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.02612, allocations: 79.58 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.02662, allocations: 439.1 kB / 389.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.02662, allocations: 8 kB / 389.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02663, allocations: 3.938 kB / 389.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.02663, allocations: 7.984 kB / 389.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.02775, allocations: 1.386 MB / 391 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.02776, allocations: 4 kB / 391 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.02787, allocations: 63.91 kB / 391.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.02788, allocations: 4 kB / 391.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.0279, allocations: 19.98 kB / 391.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.0279, allocations: 7.938 kB / 391.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0279, allocations: 4 kB / 391.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.02847, allocations: 0.9735 MB / 392.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.02857, allocations: 91.53 kB / 392.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.02862, allocations: 19.98 kB / 392.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.02876, allocations: 19.98 kB / 392.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.02883, allocations: 43.81 kB / 392.2 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.02886, allocations: 27.98 kB / 392.3 MB, free: 3.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003261/0.02918, allocations: 439 kB / 392.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02918, allocations: 4 kB / 392.7 MB, free: 3.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.02952, allocations: 87.94 kB / 392.8 MB, free: 3.312 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.001073/0.03059, allocations: 0.4984 MB / 393.3 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.03096, allocations: 255.9 kB / 393.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.03097, allocations: 4 kB / 393.5 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.03112, allocations: 136.4 kB / 393.7 MB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.03171, allocations: 149.5 kB / 393.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.03262, allocations: 0.9411 MB / 394.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.03273, allocations: 158.1 kB / 394.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.03285, allocations: 79.23 kB / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.03294, allocations: 52.48 kB / 395 MB, free: 1.141 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03294, allocations: 0 / 395 MB, free: 1.141 MB / 362.7 MB Notification: Performance of Templates: time 0.008326/0.04127, allocations: 6.228 MB / 401.3 MB, free: 11.02 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.0705294581130147]