Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 112.8 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 184.1 kB / 18.7 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5026, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004477/0.5072, allocations: 2.313 MB / 0.5212 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.5098, allocations: 1.272 MB / 0.5225 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.51, allocations: 8 kB / 0.5225 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.5107, allocations: 293.6 kB / 0.5228 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.5113, allocations: 269.8 kB / 0.523 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.5125, allocations: 373.8 kB / 0.5234 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009142/0.5134, allocations: 0.5186 MB / 0.5239 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.5137, allocations: 50.09 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.5141, allocations: 235.1 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.5145, allocations: 266.8 kB / 0.5244 GB, free: 308 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.5146, allocations: 18.06 kB / 0.5244 GB, free: 308 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.5148, allocations: 53.17 kB / 0.5245 GB, free: 300 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.515, allocations: 108.8 kB / 0.5246 GB, free: 248 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.5151, allocations: 177.4 kB / 0.5247 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.5157, allocations: 399.3 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5157, allocations: 0.6094 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5157, allocations: 0 / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.5158, allocations: 0 / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001398/0.5172, allocations: 0.757 MB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5172, allocations: 9.625 kB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.5173, allocations: 51.66 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.518, allocations: 408.9 kB / 0.5263 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.5181, allocations: 15.23 kB / 0.5263 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.5181, allocations: 16.38 kB / 0.5263 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.5186, allocations: 203.6 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5186, allocations: 5.25 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.5186, allocations: 10.59 kB / 0.5266 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5187, allocations: 6.703 kB / 0.5266 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.519, allocations: 95.67 kB / 0.5267 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.52, allocations: 0.8501 MB / 0.5275 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.5208, allocations: 288.8 kB / 0.5278 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.521, allocations: 97.78 kB / 0.5279 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.521, allocations: 13.2 kB / 0.5279 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005805/0.5216, allocations: 227.6 kB / 0.5281 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.5216, allocations: 0 / 0.5281 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.00237/0.524, allocations: 0.98 MB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5241, allocations: 158.8 kB / 0.5292 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.525, allocations: 0.6155 MB / 0.5298 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.5251, allocations: 37.52 kB / 0.5298 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.5252, allocations: 221.4 kB / 0.53 GB, free: 12.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5254, allocations: 124.3 kB / 0.5302 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5255, allocations: 74.88 kB / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.5258, allocations: 366.2 kB / 0.5306 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.5261, allocations: 102.8 kB / 0.5307 GB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.5264, allocations: 184.3 kB / 0.5309 GB, free: 11.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.5269, allocations: 301.7 kB / 0.5311 GB, free: 11.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5269, allocations: 0 / 0.5311 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007827/0.5277, allocations: 396.5 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5278, allocations: 10.14 kB / 0.5315 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5278, allocations: 3.031 kB / 0.5315 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.5278, allocations: 8.75 kB / 0.5315 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.5282, allocations: 88.03 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.5282, allocations: 4.703 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.5284, allocations: 20.8 kB / 0.5316 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.5285, allocations: 21.89 kB / 0.5317 GB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0002551/0.5287, allocations: 203 kB / 0.5319 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.5288, allocations: 62.33 kB / 0.5319 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.529, allocations: 76.53 kB / 0.532 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.529, allocations: 5.875 kB / 0.532 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.529, allocations: 5.594 kB / 0.532 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.529, allocations: 1.281 kB / 0.532 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.531, allocations: 1.256 MB / 0.5332 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.531, allocations: 2.094 kB / 0.5332 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.5312, allocations: 53.47 kB / 0.5333 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.5312, allocations: 3.969 kB / 0.5333 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.5312, allocations: 18.67 kB / 0.5333 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.5312, allocations: 8.375 kB / 0.5333 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5312, allocations: 2.219 kB / 0.5333 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5323, allocations: 0.8088 MB / 0.5341 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5324, allocations: 118.9 kB / 0.5342 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.5325, allocations: 18.23 kB / 0.5342 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.5329, allocations: 17.17 kB / 0.5343 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.533, allocations: 44.86 kB / 0.5343 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.533, allocations: 15.19 kB / 0.5343 GB, free: 8.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006161/0.5336, allocations: 461.1 kB / 0.5348 GB, free: 8.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5336, allocations: 0 / 0.5348 GB, free: 8.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006083/0.5343, allocations: 80.94 kB / 0.5348 GB, free: 8.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001407/0.5357, allocations: 0.4914 MB / 0.5353 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.5365, allocations: 292.3 kB / 0.5356 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5365, allocations: 0 / 0.5356 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.5368, allocations: 151.7 kB / 0.5357 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5379, allocations: 146.2 kB / 0.5359 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5397, allocations: 0.8537 MB / 0.5367 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.5404, allocations: 0.8516 MB / 0.5375 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.5407, allocations: 78.55 kB / 0.5376 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5408, allocations: 52.05 kB / 0.5377 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.335e-06/0.5409, allocations: 4 kB / 0.5377 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.01359/0.5545, allocations: 5.708 MB / 0.5432 GB, free: 2.785 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches