Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4352, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003647/0.4389, allocations: 2.027 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.441, allocations: 1.105 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.4412, allocations: 5.688 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.4414, allocations: 50.44 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.4418, allocations: 107.8 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.4421, allocations: 120.6 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.4424, allocations: 205.5 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4425, allocations: 28.78 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.4427, allocations: 81.89 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4428, allocations: 84.22 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4429, allocations: 20.31 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.443, allocations: 55.67 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.4431, allocations: 36.09 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.4432, allocations: 72.08 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.4435, allocations: 191.4 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4435, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4435, allocations: 1.375 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4435, allocations: 0 / 0.5347 GB, free: 10.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008665/0.4444, allocations: 0.5829 MB / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4444, allocations: 9.625 kB / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.4445, allocations: 37.5 kB / 0.5353 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.4446, allocations: 22.45 kB / 0.5353 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.445, allocations: 252.5 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.445, allocations: 12.39 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.445, allocations: 9.281 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.4454, allocations: 152.2 kB / 0.5357 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4455, allocations: 0 / 0.5357 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4455, allocations: 5.094 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4455, allocations: 2.469 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.4459, allocations: 112.8 kB / 0.5358 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.4467, allocations: 0.5474 MB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.4473, allocations: 163.4 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.4476, allocations: 69.98 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4476, allocations: 1.188 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.448, allocations: 141.1 kB / 0.5367 GB, free: 8.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 5.33e-06/0.448, allocations: 0 / 0.5367 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008467/0.4489, allocations: 262 kB / 0.537 GB, free: 8.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4489, allocations: 56.69 kB / 0.537 GB, free: 8.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4492, allocations: 233.4 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4493, allocations: 32.17 kB / 0.5373 GB, free: 8.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.4493, allocations: 124.5 kB / 0.5374 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4494, allocations: 45.64 kB / 0.5374 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.4495, allocations: 37.14 kB / 0.5375 GB, free: 7.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4496, allocations: 328.1 kB / 0.5378 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.4499, allocations: 72.66 kB / 0.5378 GB, free: 7.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.4501, allocations: 108.2 kB / 0.5379 GB, free: 7.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.4506, allocations: 202.4 kB / 0.5381 GB, free: 7.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4506, allocations: 0 / 0.5381 GB, free: 7.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000622/0.4513, allocations: 257.7 kB / 0.5384 GB, free: 7.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.4513, allocations: 36.92 kB / 0.5384 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4513, allocations: 5 kB / 0.5384 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4514, allocations: 9.625 kB / 0.5384 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4515, allocations: 33.69 kB / 0.5385 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4515, allocations: 5.125 kB / 0.5385 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4517, allocations: 30.67 kB / 0.5385 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4518, allocations: 8.578 kB / 0.5385 GB, free: 7.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001299/0.4519, allocations: 138.5 kB / 0.5386 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.4519, allocations: 16.47 kB / 0.5387 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.452, allocations: 31.61 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.452, allocations: 5.062 kB / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.452, allocations: 0 / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.452, allocations: 1.156 kB / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4523, allocations: 235.9 kB / 0.5389 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4523, allocations: 1.062 kB / 0.5389 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4524, allocations: 24.34 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4524, allocations: 0 / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4525, allocations: 6.219 kB / 0.5389 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4525, allocations: 3.938 kB / 0.539 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4525, allocations: 5.156 kB / 0.539 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.4533, allocations: 301.5 kB / 0.5392 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.4534, allocations: 96.81 kB / 0.5393 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4534, allocations: 6.141 kB / 0.5393 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4536, allocations: 27.34 kB / 0.5394 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.4537, allocations: 14.89 kB / 0.5394 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4537, allocations: 4.656 kB / 0.5394 GB, free: 6.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.4539, allocations: 171.2 kB / 0.5395 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4539, allocations: 0 / 0.5395 GB, free: 6.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.4542, allocations: 44.7 kB / 0.5396 GB, free: 6.113 MB / 398.1 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002015/0.4562, allocations: 1.139 MB / 0.5407 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.4568, allocations: 213.2 kB / 0.5409 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4569, allocations: 0 / 0.5409 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.4571, allocations: 92.73 kB / 0.541 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4575, allocations: 43.86 kB / 0.541 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.4609, allocations: 2.179 MB / 0.5432 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4613, allocations: 0.7269 MB / 0.5439 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.4614, allocations: 24.47 kB / 0.5439 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4615, allocations: 58.41 kB / 0.544 GB, free: 2.582 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4615, allocations: 0 / 0.544 GB, free: 2.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.487, allocations: 5.004 MB / 0.5488 GB, free: 14.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.049, allocations: 18.12 kB / 0.5489 GB, free: 14.7 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)