Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.004448/0.004448, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.004386/0.004386, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.9739/0.9739, allocations: 177.1 MB / 206 MB, free: 4.5 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.1811/0.1811, allocations: 32.81 MB / 295.4 MB, free: 15.46 MB / 282.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.639e-05, allocations: 10.25 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002486/0.002513, allocations: 1.906 MB / 379.3 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003964, allocations: 1.091 MB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.004091, allocations: 3.938 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.004525, allocations: 227.2 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.004999, allocations: 223 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.005325, allocations: 119.5 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.005655, allocations: 267.2 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.005784, allocations: 13.97 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.00595, allocations: 151.6 kB / 381.4 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.006103, allocations: 155.6 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.006124, allocations: 8 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.006253, allocations: 63.92 kB / 381.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.006328, allocations: 67.75 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.006379, allocations: 47.78 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.006628, allocations: 195.2 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.006634, allocations: 3.938 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.006636, allocations: 0 / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.006644, allocations: 0 / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005228/0.007167, allocations: 0.6041 MB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.007206, allocations: 15.98 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.007264, allocations: 32.75 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007465, allocations: 228.5 kB / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.007494, allocations: 8.359 kB / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.007519, allocations: 16.36 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.00767, allocations: 109.8 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.007682, allocations: 3.938 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.007693, allocations: 11.92 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.0077, allocations: 4 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.007743, allocations: 27.97 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.008097, allocations: 467.1 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.00831, allocations: 118.1 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.008345, allocations: 31.36 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.008358, allocations: 7.938 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.008494, allocations: 116.4 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.354e-06/0.008496, allocations: 4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007046/0.009201, allocations: 369.4 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.009239, allocations: 81.11 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.009447, allocations: 390.1 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.009468, allocations: 37.69 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.00955, allocations: 215.2 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.009609, allocations: 75.41 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.009664, allocations: 47.34 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.009758, allocations: 0.5274 MB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.009795, allocations: 31.92 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.00985, allocations: 74.69 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.009944, allocations: 103.5 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009945, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001763/0.01012, allocations: 192 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01014, allocations: 4 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01014, allocations: 0 / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01016, allocations: 8.062 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.01024, allocations: 43.92 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01025, allocations: 0 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.0103, allocations: 23.88 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.01031, allocations: 4 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.342e-05/0.01039, allocations: 176.5 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01042, allocations: 39.81 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.01065, allocations: 213.3 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01066, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01066, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01066, allocations: 7.922 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.01109, allocations: 0.6908 MB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01109, allocations: 4 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.01114, allocations: 35.86 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01115, allocations: 7.938 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01116, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01116, allocations: 4 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01116, allocations: 4.125 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01139, allocations: 0.5004 MB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.01142, allocations: 35.7 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.01144, allocations: 4 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.01152, allocations: 11.98 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01156, allocations: 19.97 kB / 387.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.01158, allocations: 8 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.514e-05/0.01167, allocations: 262.9 kB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01167, allocations: 0 / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.01191, allocations: 51.92 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001068/0.01298, allocations: 494.8 kB / 388.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.01316, allocations: 115.4 kB / 388.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01316, allocations: 4.125 kB / 388.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.01322, allocations: 75.5 kB / 388.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01357, allocations: 67.77 kB / 388.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.01408, allocations: 495.6 kB / 389.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.01414, allocations: 108.1 kB / 389.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.01421, allocations: 42.17 kB / 389.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01431, allocations: 122.1 kB / 389.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01432, allocations: 0 / 389.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Templates: time 0.005581/0.0199, allocations: 3.73 MB / 393.1 MB, free: 9.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.395571144297719]