Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, 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.002104/0.002104, allocations: 184.8 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.478/1.478, 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.2322/0.2322, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4233, allocations: 60.83 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002983/0.4263, allocations: 1.8 MB / 0.5207 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.428, allocations: 0.965 MB / 0.5217 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.4281, allocations: 1.969 kB / 0.5217 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007591/0.4289, allocations: 302.6 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.4294, allocations: 210.1 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.4299, allocations: 176 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.4303, allocations: 244.6 kB / 0.5226 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.4303, allocations: 13.73 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.4306, allocations: 133.9 kB / 0.5227 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.4309, allocations: 185 kB / 0.5229 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.4309, allocations: 8 kB / 0.5229 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.431, allocations: 49.09 kB / 0.5229 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.4313, allocations: 133.3 kB / 0.5231 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.4314, allocations: 146.8 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.432, allocations: 366 kB / 0.5235 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.432, allocations: 0.6562 kB / 0.5235 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.432, allocations: 3.938 kB / 0.5235 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.432, allocations: 0 / 0.5235 GB, free: 1.281 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008814/0.4329, allocations: 0.7239 MB / 0.5243 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4329, allocations: 9.438 kB / 0.5243 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.433, allocations: 47.95 kB / 0.5243 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4336, allocations: 453.2 kB / 0.5247 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4336, allocations: 9.734 kB / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4336, allocations: 7.391 kB / 0.5248 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.4338, allocations: 91.17 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4339, allocations: 0 / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4339, allocations: 1.375 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4339, allocations: 2.078 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.434, allocations: 28.61 kB / 0.5249 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.4344, allocations: 374.6 kB / 0.5252 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.4347, allocations: 108.7 kB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4348, allocations: 43.56 kB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4349, allocations: 1.031 kB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.4351, allocations: 114.6 kB / 0.5255 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.4351, allocations: 0 / 0.5255 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005541/0.4357, allocations: 200.8 kB / 0.5257 GB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4358, allocations: 78.55 kB / 0.5258 GB, free: 15.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4371, allocations: 1.031 MB / 0.5268 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4371, allocations: 31.17 kB / 0.5268 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.4373, allocations: 230.9 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.4374, allocations: 27.77 kB / 0.527 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.4374, allocations: 27.36 kB / 0.5271 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4376, allocations: 368.8 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.4377, allocations: 27.67 kB / 0.5274 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.4378, allocations: 57.52 kB / 0.5275 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.438, allocations: 91.16 kB / 0.5276 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.438, allocations: 0 / 0.5276 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003202/0.4383, allocations: 178.7 kB / 0.5278 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4384, allocations: 9.016 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4384, allocations: 5.469 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4384, allocations: 2.5 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4385, allocations: 17.41 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4385, allocations: 9.266 kB / 0.5278 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.4386, allocations: 12.06 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4387, allocations: 7.906 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0002367/0.4389, allocations: 225.1 kB / 0.528 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.439, allocations: 50.12 kB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.4391, allocations: 62.12 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4391, allocations: 6.156 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4391, allocations: 0 / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4391, allocations: 0.9375 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.4395, allocations: 344.8 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4395, allocations: 1.094 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.4395, allocations: 5.688 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4395, allocations: 1.219 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4396, allocations: 10.23 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4396, allocations: 1.125 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4396, allocations: 4.984 kB / 0.5285 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.4399, allocations: 204.4 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4401, allocations: 137.5 kB / 0.5288 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.4401, allocations: 6.906 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.4402, allocations: 7.078 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4403, allocations: 3.812 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.4403, allocations: 12.95 kB / 0.5288 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008763/0.4412, allocations: 0.7743 MB / 0.5296 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4412, allocations: 3.938 kB / 0.5296 GB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.4415, allocations: 44.95 kB / 0.5297 GB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009377/0.4424, allocations: 406.1 kB / 0.53 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.4427, allocations: 79.91 kB / 0.5301 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4427, allocations: 0 / 0.5301 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.4428, allocations: 47.47 kB / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.4433, allocations: 83.69 kB / 0.5302 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4446, allocations: 0.8591 MB / 0.5311 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.445, allocations: 0.8393 MB / 0.5319 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.4451, allocations: 53.16 kB / 0.5319 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.4452, allocations: 34.86 kB / 0.532 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4452, allocations: 0 / 0.532 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.008998/0.4542, allocations: 3.747 MB / 0.5356 GB, free: 9.664 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches