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.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.0008691/0.0008691, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.00223, 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.0007275/0.0007275, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.0018, 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.9623/0.9623, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1814/1.144, allocations: 52.49 MB / 238.5 MB, free: 7.613 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.1274/0.1274, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02632/0.1538, allocations: 12.53 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.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.663e-06/1.663e-06, allocations: 0 / 286 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.753e-05, allocations: 6.25 kB / 286 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002189/0.002207, allocations: 1.943 MB / 287.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003431, allocations: 0.9933 MB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.003524, allocations: 3.938 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.003846, allocations: 227.2 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.004083, allocations: 175.3 kB / 289.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.004421, allocations: 183.4 kB / 289.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.004686, allocations: 243.2 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.004779, allocations: 22.44 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.004974, allocations: 188.2 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005116, allocations: 131.7 kB / 290 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.005139, allocations: 8 kB / 290.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.005246, allocations: 63.92 kB / 290.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.005309, allocations: 47.8 kB / 290.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.005357, allocations: 51.73 kB / 290.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.005573, allocations: 171.4 kB / 290.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.005585, allocations: 0 / 290.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005586, allocations: 0 / 290.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.005603, allocations: 0 / 290.4 MB, free: 3.852 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000564/0.006167, allocations: 0.5063 MB / 290.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.006198, allocations: 8.031 kB / 290.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.006244, allocations: 24.92 kB / 290.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.006449, allocations: 197.9 kB / 291.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.006468, allocations: 4.375 kB / 291.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006497, allocations: 28.27 kB / 291.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.006651, allocations: 99.44 kB / 291.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.006664, allocations: 3.938 kB / 291.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006675, allocations: 8 kB / 291.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006682, allocations: 0 / 291.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.006724, allocations: 25.64 kB / 291.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.007032, allocations: 308.7 kB / 291.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.007241, allocations: 190.7 kB / 291.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.007275, allocations: 33.64 kB / 291.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.007286, allocations: 4 kB / 291.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.007418, allocations: 112 kB / 291.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.00742, allocations: 0 / 291.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006165/0.008036, allocations: 319.2 kB / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.008078, allocations: 89.09 kB / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.008265, allocations: 308.6 kB / 292.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.008287, allocations: 33.7 kB / 292.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.008335, allocations: 117.2 kB / 292.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.008389, allocations: 83.34 kB / 292.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.008439, allocations: 41.69 kB / 292.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.008537, allocations: 346.7 kB / 293.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.008571, allocations: 26.81 kB / 293.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.008618, allocations: 61.03 kB / 293.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.008706, allocations: 108.9 kB / 293.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008707, allocations: 0 / 293.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000124/0.008831, allocations: 135.4 kB / 293.5 MB, free: 456 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.008844, allocations: 4 kB / 293.5 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008848, allocations: 0 / 293.5 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.008861, allocations: 7.938 kB / 293.6 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.008956, allocations: 47.92 kB / 293.6 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008961, allocations: 4.938 kB / 293.6 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.009006, allocations: 11.92 kB / 293.6 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.009016, allocations: 8.062 kB / 293.6 MB, free: 372 kB / 282.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 7.807e-05/0.009094, allocations: 128.6 kB / 293.7 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.009117, allocations: 23.97 kB / 293.8 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.009281, allocations: 152.2 kB / 293.9 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009283, allocations: 4 kB / 293.9 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.009286, allocations: 3.984 kB / 293.9 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.009291, allocations: 4 kB / 293.9 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.009705, allocations: 0.5673 MB / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009707, allocations: 0 / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.00977, allocations: 35.92 kB / 294.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.009792, allocations: 31.75 kB / 294.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.009796, allocations: 0 / 294.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.009809, allocations: 11.98 kB / 294.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.009813, allocations: 4 kB / 294.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009814, allocations: 0 / 294.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.01002, allocations: 420.5 kB / 295 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.01006, allocations: 11.98 kB / 295 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.01013, allocations: 12.03 kB / 295 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.01017, allocations: 15.97 kB / 295 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.01019, allocations: 12 kB / 295 MB, free: 14.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.01028, allocations: 135.4 kB / 295.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01028, allocations: 0 / 295.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01049, allocations: 55.88 kB / 295.2 MB, free: 14.67 MB / 298.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.00146/0.01195, allocations: 0.7337 MB / 296 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.0121, allocations: 102.1 kB / 296.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.01211, allocations: 4 kB / 296.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.01219, allocations: 72.69 kB / 296.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.01258, allocations: 362.9 kB / 296.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.01335, allocations: 495.1 kB / 297 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.01342, allocations: 96.23 kB / 297.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.0135, allocations: 33.94 kB / 297.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01361, allocations: 95.34 kB / 297.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01361, allocations: 0 / 297.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of Templates: time 0.005954/0.01956, allocations: 3.652 MB / 300.8 MB, free: 9.352 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.918548794463277]