Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.0009708/0.0009708, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002519/0.00349, 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.00106/0.00106, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002414, 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 1.038/1.038, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.197/1.235, allocations: 49.49 MB / 220.5 MB, free: 5.273 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.1526/0.1526, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03129/0.1839, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.719e-05, allocations: 10.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003672/0.00371, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.00485, allocations: 0.8036 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.004932, allocations: 4 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.005182, allocations: 51.69 kB / 269.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.005345, allocations: 51.7 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.005621, allocations: 91.69 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.005826, allocations: 91.7 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.005929, allocations: 12.11 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.006058, allocations: 67.89 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.006148, allocations: 27.91 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.006165, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.006255, allocations: 47.91 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.006303, allocations: 23.88 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.006338, allocations: 15.94 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.006503, allocations: 91.61 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.851e-05/0.006531, allocations: 4 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.006534, allocations: 0 / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.006558, allocations: 0 / 270.4 MB, free: 3.273 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.000474/0.007032, allocations: 331.9 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.007064, allocations: 8.031 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.007098, allocations: 8.922 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.007252, allocations: 154.3 kB / 270.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.007268, allocations: 4.312 kB / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.007286, allocations: 4.375 kB / 270.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.007395, allocations: 65.7 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.007405, allocations: 3.938 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-06/0.007412, allocations: 0 / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.007418, allocations: 0 / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.007448, allocations: 11.98 kB / 271 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.007691, allocations: 173.9 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.007784, allocations: 89.23 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.007805, allocations: 12.86 kB / 271.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.007817, allocations: 0 / 271.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.00794, allocations: 70.16 kB / 271.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007941, allocations: 0 / 271.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003275/0.008268, allocations: 117.5 kB / 271.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.0083, allocations: 51.41 kB / 271.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.008405, allocations: 173 kB / 271.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.00842, allocations: 29.7 kB / 271.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.008453, allocations: 92.11 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.00848, allocations: 35.77 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.008517, allocations: 25.7 kB / 271.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.00861, allocations: 318.8 kB / 272.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.008626, allocations: 10.83 kB / 272.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.008657, allocations: 33.62 kB / 272.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.008696, allocations: 32.53 kB / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008697, allocations: 0 / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.298e-05/0.00878, allocations: 76.38 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.008793, allocations: 12.03 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.0088, allocations: 3.984 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.008812, allocations: 3.984 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.008885, allocations: 16 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008888, allocations: 0 / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.008914, allocations: 0 / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008922, allocations: 7.984 kB / 272.4 MB, free: 1.156 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 6.778e-05/0.00899, allocations: 124.6 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.009, allocations: 7.938 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.009098, allocations: 75.12 kB / 272.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.009101, allocations: 11.94 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.009103, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009107, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.009329, allocations: 291.4 kB / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.009332, allocations: 4 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.00936, allocations: 15.92 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.009369, allocations: 7.953 kB / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.009372, allocations: 0 / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.009379, allocations: 4 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.00938, allocations: 0 / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009381, allocations: 4.031 kB / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.009493, allocations: 219 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.009509, allocations: 8.375 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.009547, allocations: 0 / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.009573, allocations: 7.984 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.009586, allocations: 8 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.24e-05/0.009629, allocations: 52.34 kB / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009629, allocations: 0 / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.009777, allocations: 23.94 kB / 273.2 MB, free: 252 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.00131/0.01109, allocations: 0.6439 MB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.01121, allocations: 44.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.01122, allocations: 0 / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.01125, allocations: 36.84 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01146, allocations: 43.77 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.0119, allocations: 218.3 kB / 274.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.01194, allocations: 75.33 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.01198, allocations: 12.8 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.01204, allocations: 63.38 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01204, allocations: 3.938 kB / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Templates: time 0.003479/0.01552, allocations: 2.03 MB / 276.4 MB, free: 13.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.0137641420587897]