Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001339/0.001339, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001538/0.001538, allocations: 170.7 kB / 24.82 MB, free: 9.262 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3141/0.3141, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.352e-05, allocations: 5.406 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004561/0.004595, allocations: 1.75 MB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.006898, allocations: 1.001 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.007057, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.007505, allocations: 51.69 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.008001, allocations: 103.5 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.008374, allocations: 71.67 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.008644, allocations: 119.5 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.008785, allocations: 4 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.00895, allocations: 51.89 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.009061, allocations: 31.84 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.009084, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.009241, allocations: 43.92 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.009314, allocations: 31.84 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.009364, allocations: 19.94 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.009639, allocations: 111.6 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.009645, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.009647, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.009653, allocations: 0 / 382 MB, free: 14.91 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006962/0.01035, allocations: 459.7 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.01041, allocations: 12.03 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.01047, allocations: 16.78 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.01072, allocations: 157.2 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.01075, allocations: 384 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.01077, allocations: 12.38 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.01095, allocations: 54.94 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01097, allocations: 7.938 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.01098, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01099, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.01103, allocations: 7.984 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.01142, allocations: 264.3 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.01173, allocations: 59.08 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.01176, allocations: 15.69 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01178, allocations: 4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.01193, allocations: 72.92 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.01194, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004624/0.0124, allocations: 137.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.01244, allocations: 55.41 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.01263, allocations: 255 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01265, allocations: 25.7 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.01274, allocations: 162.8 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.01279, allocations: 27.77 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.01284, allocations: 27.38 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01301, allocations: 0.504 MB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.01304, allocations: 11.98 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.01308, allocations: 27.36 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.01315, allocations: 47.38 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01315, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001481/0.0133, allocations: 89.52 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.01332, allocations: 10.03 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01333, allocations: 3.984 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01334, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.01343, allocations: 19.97 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01344, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.01348, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.01349, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001082/0.01359, allocations: 168.5 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.01363, allocations: 23.83 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01383, allocations: 103.1 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01384, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01384, allocations: 384 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01384, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.01423, allocations: 369.5 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.01424, allocations: 11.98 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.01428, allocations: 8 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01429, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01429, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.0143, allocations: 7.875 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0143, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.01452, allocations: 263.4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.01454, allocations: 7.953 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.01456, allocations: 8.016 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.01464, allocations: 4 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.01468, allocations: 7.984 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.0147, allocations: 4 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.01482, allocations: 175.1 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01482, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01508, allocations: 27.89 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001239/0.01632, allocations: 422.8 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.01645, allocations: 59.58 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01645, allocations: 0 / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.0165, allocations: 31.61 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01685, allocations: 34.92 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.01733, allocations: 233.5 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.01739, allocations: 71.33 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.01744, allocations: 12.98 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.01754, allocations: 98.31 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01754, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005612/0.02315, allocations: 2.049 MB / 388.7 MB, free: 8.059 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.349037959240377]