Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001054/0.001054, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002514, 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.00109/0.00109, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002627, 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.11, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2877/0.2877, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0293/0.317, allocations: 12.53 MB / 289.3 MB, free: 8.664 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.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.42e-05, allocations: 8.984 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002243/0.002258, allocations: 1.798 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.003585, allocations: 1.019 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.003665, allocations: 1.625 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.003862, allocations: 46.33 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.004083, allocations: 92.91 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.004256, allocations: 75.62 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.004413, allocations: 111.6 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.004494, allocations: 8.734 kB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.004624, allocations: 87.75 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.004699, allocations: 23.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.004714, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.004797, allocations: 43.92 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.004838, allocations: 15.94 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.004872, allocations: 15.94 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.00503, allocations: 107.5 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-05/0.005046, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005046, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.005064, allocations: 0 / 294.1 MB, free: 4.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004544/0.005518, allocations: 340.5 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.00555, allocations: 8.031 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.005585, allocations: 8.922 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.005747, allocations: 146.3 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005762, allocations: 4.375 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005778, allocations: 4.375 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.005884, allocations: 65.77 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005894, allocations: 7.875 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.005901, allocations: 4 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.005908, allocations: 3.984 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.005934, allocations: 7.984 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.006137, allocations: 162 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006237, allocations: 89.34 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.006256, allocations: 8.859 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006269, allocations: 8 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.865e-05/0.006368, allocations: 66.03 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.006369, allocations: 0 / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003009/0.00667, allocations: 117.6 kB / 295.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.006704, allocations: 55.41 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.006811, allocations: 176.8 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.006827, allocations: 29.7 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.006858, allocations: 92.11 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.006882, allocations: 23.83 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.006913, allocations: 21.72 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.007, allocations: 334.8 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.007016, allocations: 15 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.007043, allocations: 25.7 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.00709, allocations: 44.45 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007091, allocations: 0 / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.081e-05/0.007162, allocations: 72.38 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007175, allocations: 4 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007179, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007189, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.007253, allocations: 20.03 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.007256, allocations: 0 / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.007285, allocations: 11.98 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.00729, allocations: 0 / 296.1 MB, free: 2.637 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 (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.882e-05/0.007359, allocations: 124.6 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.007373, allocations: 15.92 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.007476, allocations: 71.08 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.007478, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00748, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007483, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.007698, allocations: 307.5 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0077, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.007728, allocations: 12 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007739, allocations: 7.953 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007742, allocations: 3.938 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.007748, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.007752, allocations: 7.984 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.007753, allocations: 0 / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.007869, allocations: 223 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.007886, allocations: 7.938 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.007923, allocations: 8.031 kB / 296.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.007953, allocations: 7.984 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.007962, allocations: 0 / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.008003, allocations: 51.64 kB / 296.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008003, allocations: 0 / 296.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.008151, allocations: 27.98 kB / 296.9 MB, free: 1.711 MB / 282.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.001504/0.009655, allocations: 0.6284 MB / 297.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.00976, allocations: 52.7 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.009769, allocations: 0 / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.0098, allocations: 28.78 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.009983, allocations: 44 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.01043, allocations: 227.8 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01047, allocations: 63.34 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.01051, allocations: 21.27 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.01058, allocations: 67.36 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01058, allocations: 0 / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of Templates: time 0.003919/0.0145, allocations: 2.045 MB / 300.1 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.1175950104370713]