Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 108.7 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3556/0.3556, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4295, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003394/0.433, allocations: 1.893 MB / 0.517 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.4347, allocations: 1.115 MB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4348, allocations: 6.938 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.4354, allocations: 284.1 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.4358, allocations: 239.1 kB / 0.5186 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.4362, allocations: 154.9 kB / 0.5188 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.4365, allocations: 248.1 kB / 0.519 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.4365, allocations: 7.312 kB / 0.519 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.4367, allocations: 125.4 kB / 0.5191 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.4369, allocations: 185.6 kB / 0.5193 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.4369, allocations: 5.344 kB / 0.5193 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.4371, allocations: 49.27 kB / 0.5193 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4372, allocations: 135.5 kB / 0.5195 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4373, allocations: 143.1 kB / 0.5196 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.4377, allocations: 356.5 kB / 0.52 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4377, allocations: 2.938 kB / 0.52 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4377, allocations: 0 / 0.52 GB, free: 35.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4377, allocations: 0 / 0.52 GB, free: 35.09 MB / 378.7 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.0009252/0.4387, allocations: 0.7312 MB / 0.5207 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4387, allocations: 8.688 kB / 0.5207 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.4388, allocations: 51.66 kB / 0.5207 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.4393, allocations: 438.8 kB / 0.5211 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4393, allocations: 11.19 kB / 0.5212 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.4394, allocations: 7 kB / 0.5212 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4396, allocations: 84 kB / 0.5212 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4396, allocations: 0 / 0.5212 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4396, allocations: 3.031 kB / 0.5212 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.4396, allocations: 3.938 kB / 0.5213 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4397, allocations: 35.09 kB / 0.5213 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.4402, allocations: 379.8 kB / 0.5216 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.4404, allocations: 104.2 kB / 0.5217 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.4405, allocations: 40.12 kB / 0.5218 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4406, allocations: 9.781 kB / 0.5218 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.4408, allocations: 108 kB / 0.5219 GB, free: 33.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4409, allocations: 0 / 0.5219 GB, free: 33.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004594/0.4413, allocations: 204 kB / 0.5221 GB, free: 33.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4414, allocations: 81.11 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.4423, allocations: 1.025 MB / 0.5232 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4423, allocations: 32.45 kB / 0.5232 GB, free: 33.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4425, allocations: 235.3 kB / 0.5234 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.4425, allocations: 29.72 kB / 0.5235 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.4426, allocations: 27.69 kB / 0.5235 GB, free: 32.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.4427, allocations: 366.8 kB / 0.5238 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.4428, allocations: 28.31 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.4429, allocations: 57.89 kB / 0.5239 GB, free: 32.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.443, allocations: 89.67 kB / 0.524 GB, free: 32.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.443, allocations: 0 / 0.524 GB, free: 32.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002606/0.4433, allocations: 171.7 kB / 0.5242 GB, free: 32.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4433, allocations: 5.594 kB / 0.5242 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4433, allocations: 2.719 kB / 0.5242 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4434, allocations: 3.938 kB / 0.5242 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4435, allocations: 21.55 kB / 0.5242 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4435, allocations: 6.641 kB / 0.5242 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.4436, allocations: 16.64 kB / 0.5242 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4436, allocations: 2.188 kB / 0.5242 GB, free: 32.24 MB / 378.7 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.0001745/0.4438, allocations: 233.8 kB / 0.5244 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.4439, allocations: 48.47 kB / 0.5245 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.997e-05/0.444, allocations: 58.72 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.444, allocations: 0 / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.444, allocations: 2.688 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.444, allocations: 192 / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.4443, allocations: 348.6 kB / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4443, allocations: 0 / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.4443, allocations: 8.688 kB / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4443, allocations: 0 / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4444, allocations: 10.53 kB / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4444, allocations: 0 / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4444, allocations: 0 / 0.5249 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.445, allocations: 0.8774 MB / 0.5258 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4451, allocations: 138.1 kB / 0.5259 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.4452, allocations: 10.28 kB / 0.5259 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.4453, allocations: 2.969 kB / 0.5259 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.4453, allocations: 17.91 kB / 0.5259 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.4453, allocations: 5.438 kB / 0.5259 GB, free: 30.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006973/0.446, allocations: 0.764 MB / 0.5267 GB, free: 30.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4461, allocations: 0 / 0.5267 GB, free: 30.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.4464, allocations: 47.84 kB / 0.5267 GB, free: 30.61 MB / 378.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: 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.0009873/0.4474, allocations: 420.4 kB / 0.5271 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.4477, allocations: 86.12 kB / 0.5272 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4477, allocations: 0 / 0.5272 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4478, allocations: 34.36 kB / 0.5272 GB, free: 30.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4484, allocations: 66.52 kB / 0.5273 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.4498, allocations: 1.084 MB / 0.5283 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4501, allocations: 0.8463 MB / 0.5292 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.4502, allocations: 55.36 kB / 0.5292 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.4503, allocations: 31.84 kB / 0.5293 GB, free: 28.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4503, allocations: 0 / 0.5293 GB, free: 28.98 MB / 378.7 MB Notification: Performance of Templates: time 0.007735/0.458, allocations: 3.663 MB / 0.5328 GB, free: 28.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches