Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007664/0.0007664, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.001946, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000647/0.000647, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001603, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8987/0.8987, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1757/1.074, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.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.1319/0.1319, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02617/0.1581, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.401e-05, allocations: 9.203 kB / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002664/0.002678, allocations: 1.811 MB / 287.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.004483, allocations: 0.8766 MB / 288.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.004555, allocations: 3.938 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.004824, allocations: 111.5 kB / 288.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.00504, allocations: 87.59 kB / 288.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.00536, allocations: 115.5 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.005565, allocations: 119.7 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.005649, allocations: 11.98 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.005812, allocations: 107.7 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.00592, allocations: 55.88 kB / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.005941, allocations: 8 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.006059, allocations: 59.84 kB / 289.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.00611, allocations: 27.88 kB / 289.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006148, allocations: 19.94 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.006356, allocations: 115.6 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.006367, allocations: 4 kB / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006368, allocations: 0 / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.006377, allocations: 0 / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004741/0.006851, allocations: 375.5 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.006884, allocations: 11.97 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.006923, allocations: 12.92 kB / 289.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.007098, allocations: 157.5 kB / 290 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.007113, allocations: 384 / 290 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.007137, allocations: 8.375 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.007263, allocations: 73.69 kB / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.007275, allocations: 7.922 kB / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.007282, allocations: 0 / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007288, allocations: 4 kB / 290.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.007327, allocations: 11.98 kB / 290.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.007571, allocations: 185.9 kB / 290.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.007742, allocations: 105.3 kB / 290.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.007771, allocations: 16.84 kB / 290.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.007781, allocations: 0 / 290.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.007891, allocations: 78.25 kB / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.007892, allocations: 0 / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005087/0.008401, allocations: 177.9 kB / 290.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.008432, allocations: 67.34 kB / 290.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.008583, allocations: 204 kB / 290.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.008604, allocations: 33.7 kB / 291 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.00864, allocations: 92.11 kB / 291.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.00868, allocations: 51.55 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.00872, allocations: 25.7 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.008821, allocations: 326.8 kB / 291.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.008847, allocations: 14.81 kB / 291.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.008882, allocations: 29.7 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.008952, allocations: 67.31 kB / 291.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008953, allocations: 4 kB / 291.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001101/0.009063, allocations: 80.44 kB / 291.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.009074, allocations: 4 kB / 291.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.00908, allocations: 4 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.009095, allocations: 0 / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.009193, allocations: 27.92 kB / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.009196, allocations: 0 / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.009238, allocations: 15.92 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.009245, allocations: 0 / 291.7 MB, free: 2.359 MB / 282.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 (14): * Single equations (assignments): 14 * 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 7.446e-05/0.00932, allocations: 124.6 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.009342, allocations: 11.98 kB / 291.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.009495, allocations: 110.5 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.009499, allocations: 4 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.0095, allocations: 0 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009504, allocations: 0 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.009825, allocations: 340.2 kB / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.009826, allocations: 0 / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.009889, allocations: 23.98 kB / 292.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.009906, allocations: 15.97 kB / 292.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.009909, allocations: 7.938 kB / 292.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.009919, allocations: 3.984 kB / 292.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.009923, allocations: 4 kB / 292.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.009925, allocations: 4 kB / 292.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01009, allocations: 235.9 kB / 292.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01011, allocations: 8 kB / 292.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.01018, allocations: 4 kB / 292.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.01021, allocations: 11.97 kB / 292.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.01023, allocations: 15.88 kB / 292.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.0103, allocations: 73.25 kB / 292.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0103, allocations: 3.938 kB / 292.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.01056, allocations: 35.92 kB / 292.7 MB, free: 1.273 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002044/0.0126, allocations: 0.7205 MB / 293.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01274, allocations: 67.95 kB / 293.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.01275, allocations: 0 / 293.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.01281, allocations: 40.94 kB / 293.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01311, allocations: 189.5 kB / 293.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.01366, allocations: 300.3 kB / 294 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.01371, allocations: 75.83 kB / 294.1 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.01377, allocations: 21.31 kB / 294.1 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.01385, allocations: 79.36 kB / 294.2 MB, free: 80 kB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01386, allocations: 0 / 294.2 MB, free: 80 kB / 282.7 MB Notification: Performance of Templates: time 0.004846/0.0187, allocations: 2.451 MB / 296.6 MB, free: 13.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.776859138160944]