Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009603/0.0009603, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002427, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009084/0.0009084, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002114, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.966/0.966, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2042/1.17, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.36 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02279/0.1619, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.389e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00267/0.002684, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003759, allocations: 0.8114 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.003817, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.003998, allocations: 43.7 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.004119, allocations: 59.69 kB / 270 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.004286, allocations: 83.7 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.004428, allocations: 95.64 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.004506, allocations: 12.17 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.004612, allocations: 75.88 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.004682, allocations: 19.92 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.004698, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.00477, allocations: 43.91 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.004814, allocations: 27.86 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.004848, allocations: 15.94 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004988, allocations: 83.62 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.005004, allocations: 8 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005004, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.005019, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.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.0004259/0.005445, allocations: 323.9 kB / 270.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.005478, allocations: 16.03 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.005507, allocations: 8.922 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.005651, allocations: 145.5 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.005667, allocations: 4.375 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.005681, allocations: 384 / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.005781, allocations: 69.7 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005792, allocations: 7.875 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.005798, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.005803, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.005829, allocations: 11.98 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.006027, allocations: 170 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.006137, allocations: 93.22 kB / 271.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.00616, allocations: 12.86 kB / 271.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.006171, allocations: 0 / 271.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006279, allocations: 70.16 kB / 271.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.00628, allocations: 0 / 271.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003127/0.006593, allocations: 113.5 kB / 271.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.006623, allocations: 51.41 kB / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.006735, allocations: 168.3 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.006748, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.006784, allocations: 100.1 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.006812, allocations: 27.83 kB / 271.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.00685, allocations: 17.72 kB / 271.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.006939, allocations: 326.8 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.006958, allocations: 10.83 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.006986, allocations: 25.64 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.007034, allocations: 44.58 kB / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.007035, allocations: 0 / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.501e-05/0.00712, allocations: 76.38 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007131, allocations: 4 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.007135, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.007143, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.214e-05/0.007215, allocations: 23.98 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.007218, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.007255, allocations: 7.938 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007261, allocations: 0 / 272.4 MB, free: 1.18 MB / 266.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 7.111e-05/0.007332, allocations: 128.6 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.007347, allocations: 15.97 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.007453, allocations: 74.44 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007455, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007456, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.00746, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.007698, allocations: 295.4 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0077, allocations: 0 / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.007732, allocations: 15.92 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.007746, allocations: 11.91 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007749, allocations: 4 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007756, allocations: 8.031 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007757, allocations: 0 / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007759, allocations: 0 / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.007871, allocations: 215 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.007891, allocations: 8.359 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.007945, allocations: 4 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.007971, allocations: 3.984 kB / 273.1 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.007983, allocations: 8 kB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.008027, allocations: 44.53 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008027, allocations: 0 / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.008229, allocations: 23.98 kB / 273.2 MB, free: 280 kB / 266.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.00156/0.009789, allocations: 0.6361 MB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.009888, allocations: 48.77 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.009897, allocations: 4 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.009934, allocations: 24.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01016, allocations: 47.75 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.01063, allocations: 218.6 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01068, allocations: 63.34 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.01072, allocations: 16.47 kB / 274.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.0108, allocations: 71.48 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0108, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.003991/0.01479, allocations: 2.025 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 2.992452524602413]