Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008055/0.0008055, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001903, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006868/0.0006868, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009119/0.001599, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.111/1.111, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09613/1.207, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2879/0.2879, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02607/0.314, allocations: 13.09 MB / 291.3 MB, free: 7.383 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.563e-05, allocations: 3.188 kB / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003516/0.003541, allocations: 2.012 MB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004952, allocations: 1.053 MB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.005045, allocations: 4 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.005277, allocations: 39.66 kB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.005536, allocations: 103.4 kB / 295.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.005765, allocations: 99.58 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005966, allocations: 147.5 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.006066, allocations: 22.39 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.006214, allocations: 118.8 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.006307, allocations: 35.88 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.006324, allocations: 11.94 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.006421, allocations: 43.98 kB / 296.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.006469, allocations: 15.94 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.006511, allocations: 31.88 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.006711, allocations: 123.5 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-05/0.006729, allocations: 4 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.006731, allocations: 0 / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.006746, allocations: 0 / 296.5 MB, free: 2.367 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000503/0.007249, allocations: 406.5 kB / 296.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.007281, allocations: 12.03 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.00732, allocations: 16.92 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.007493, allocations: 166.3 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.007508, allocations: 8.375 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.007527, allocations: 12.38 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.007681, allocations: 126 kB / 297.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00769, allocations: 7.938 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.007698, allocations: 4 kB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.007703, allocations: 0 / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.007745, allocations: 29.12 kB / 297.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.008052, allocations: 382 kB / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.008235, allocations: 105.3 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.008261, allocations: 20.84 kB / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.008275, allocations: 4 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.008399, allocations: 87.86 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.0084, allocations: 0 / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001548/0.008555, allocations: 81.59 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.008581, allocations: 51.41 kB / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008691, allocations: 189.6 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.008704, allocations: 29.7 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.00875, allocations: 108 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.008774, allocations: 35.72 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.008808, allocations: 29.69 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.008897, allocations: 330.7 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.008914, allocations: 10.83 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.008947, allocations: 48.27 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.009005, allocations: 73.89 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.009008, allocations: 8 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.121e-05/0.0091, allocations: 96.3 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.009109, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009114, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.009122, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.009189, allocations: 23.98 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.009193, allocations: 4 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.009223, allocations: 7.953 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.00923, allocations: 12.12 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.002e-05/0.0093, allocations: 128.5 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.009313, allocations: 7.984 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.009404, allocations: 83.06 kB / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.009406, allocations: 0 / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.009407, allocations: 0 / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00941, allocations: 0 / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.009503, allocations: 101.8 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009504, allocations: 3.938 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.00955, allocations: 12 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.009563, allocations: 27.83 kB / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009565, allocations: 0 / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.009572, allocations: 4 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009573, allocations: 0 / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009574, allocations: 0 / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.009689, allocations: 116 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.009705, allocations: 7.984 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.009728, allocations: 0 / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.009753, allocations: 11.98 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.009765, allocations: 4 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.165e-05/0.009806, allocations: 61.44 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009806, allocations: 0 / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.00994, allocations: 35.88 kB / 299.6 MB, free: 15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001281/0.01122, allocations: 0.5495 MB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.839e-05/0.01132, allocations: 52.77 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.01133, allocations: 4 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.01136, allocations: 29.03 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.01152, allocations: 51.91 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.01196, allocations: 253.9 kB / 300.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.012, allocations: 71.83 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.01204, allocations: 13.48 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.01211, allocations: 79.3 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01211, allocations: 4 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of Templates: time 0.00368/0.01579, allocations: 2.232 MB / 302.9 MB, free: 11.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.0598470894619823]