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.001321/0.001321, allocations: 79.58 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.0009891/0.0009891, allocations: 161 kB / 24.56 MB, free: 20 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.9343/0.9343, allocations: 177.1 MB / 205 MB, free: 5.594 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.2856/0.2856, allocations: 34.25 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] 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.[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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 3.938 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.082e-05, allocations: 5.688 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002403/0.002424, allocations: 2.269 MB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003907, allocations: 1.294 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.004003, allocations: 4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.00434, allocations: 135.2 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.004707, allocations: 246.8 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.004938, allocations: 195.4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.005276, allocations: 474.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005385, allocations: 41.25 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.005662, allocations: 355.1 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.005786, allocations: 135.5 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.005819, allocations: 20 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.005918, allocations: 67.92 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.006021, allocations: 143.5 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.006098, allocations: 91.58 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.0064, allocations: 350.4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006402, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006403, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006407, allocations: 0 / 383.9 MB, free: 12.73 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.0007084/0.007116, allocations: 0.8798 MB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.007148, allocations: 8.031 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.007234, allocations: 76.52 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.007532, allocations: 353.2 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.007554, allocations: 12.38 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.007585, allocations: 16.36 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.007808, allocations: 181.6 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.007823, allocations: 11.89 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.007837, allocations: 11.98 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.007845, allocations: 4 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.007941, allocations: 71.84 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.008556, allocations: 0.9219 MB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.00888, allocations: 240.4 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.008962, allocations: 74.84 kB / 386.7 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.008979, allocations: 8 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.009244, allocations: 201.4 kB / 386.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.076e-06/0.009247, allocations: 0 / 386.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001389/0.01064, allocations: 1.046 MB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.01069, allocations: 144.5 kB / 388.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.01114, allocations: 0.652 MB / 388.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.01117, allocations: 37.7 kB / 388.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.01131, allocations: 307.7 kB / 389.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.01139, allocations: 150.8 kB / 389.3 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.01147, allocations: 91.8 kB / 389.4 MB, free: 6.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01162, allocations: 0.5586 MB / 389.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.296e-05/0.01172, allocations: 68.95 kB / 390 MB, free: 6.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01185, allocations: 158.4 kB / 390.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.01208, allocations: 257.6 kB / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.01209, allocations: 0 / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003718/0.01246, allocations: 376.8 kB / 390.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01247, allocations: 10.03 kB / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01248, allocations: 128 / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.0125, allocations: 8 kB / 390.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01265, allocations: 91.84 kB / 390.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.01266, allocations: 7.984 kB / 390.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.01273, allocations: 12 kB / 390.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.01275, allocations: 16 kB / 390.9 MB, free: 5.328 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.0001151/0.01286, allocations: 198.8 kB / 391.1 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.01293, allocations: 79.58 kB / 391.2 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.0134, allocations: 439.7 kB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.0134, allocations: 8 kB / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01341, allocations: 0 / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.01342, allocations: 7.984 kB / 391.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.01445, allocations: 1.386 MB / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.01445, allocations: 7.984 kB / 393 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01455, allocations: 60.17 kB / 393.1 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.01456, allocations: 8 kB / 393.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.01458, allocations: 19.98 kB / 393.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.01459, allocations: 15.92 kB / 393.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01459, allocations: 0 / 393.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.01521, allocations: 0.9655 MB / 394.1 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.01531, allocations: 107.4 kB / 394.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.01536, allocations: 16 kB / 394.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.0155, allocations: 15.98 kB / 394.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.01557, allocations: 47.88 kB / 394.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.01559, allocations: 23.98 kB / 394.3 MB, free: 1.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.01589, allocations: 443 kB / 394.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01589, allocations: 0 / 394.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.01625, allocations: 91.94 kB / 394.8 MB, free: 1.266 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.001032/0.01728, allocations: 0.4928 MB / 395.3 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.01762, allocations: 252.2 kB / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01762, allocations: 0 / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.01777, allocations: 141.1 kB / 395.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.01835, allocations: 153.3 kB / 395.8 MB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.01932, allocations: 0.9444 MB / 396.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01942, allocations: 150.1 kB / 396.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.01955, allocations: 79.25 kB / 397 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.01963, allocations: 60.47 kB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01963, allocations: 0 / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.007741/0.02737, allocations: 5.764 MB / 402.8 MB, free: 9.418 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] 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","",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.3452594187110662]