Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, 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.49/1.49, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 80.2 kB / 481 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3646, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003418/0.3681, allocations: 1.833 MB / 0.5325 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.37, allocations: 1.087 MB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.3701, allocations: 3.938 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.3706, allocations: 299.9 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.3711, allocations: 252.9 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3714, allocations: 108.4 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.3717, allocations: 257.5 kB / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.3718, allocations: 21.91 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.372, allocations: 128 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3722, allocations: 188.5 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3722, allocations: 6.5 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3723, allocations: 46.7 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3725, allocations: 137.8 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3727, allocations: 146.9 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3731, allocations: 372.7 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3731, allocations: 1.062 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3732, allocations: 0 / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3732, allocations: 4 kB / 0.5354 GB, free: 9.996 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001059/0.3742, allocations: 0.752 MB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3743, allocations: 9.688 kB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.3743, allocations: 32.03 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.3744, allocations: 53.95 kB / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.3751, allocations: 450.2 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3751, allocations: 1.656 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3751, allocations: 11.62 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3753, allocations: 87.22 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3754, allocations: 5.312 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3754, allocations: 4 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3754, allocations: 1.375 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3755, allocations: 31.38 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.376, allocations: 375.9 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3763, allocations: 109.1 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.3764, allocations: 37.92 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3764, allocations: 9.125 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.3766, allocations: 112.1 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3766, allocations: 1.156 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005075/0.3772, allocations: 200.7 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3772, allocations: 78.36 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3784, allocations: 1.027 MB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3784, allocations: 34.7 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3786, allocations: 234.3 kB / 0.5389 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3787, allocations: 24.58 kB / 0.539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.3787, allocations: 30.48 kB / 0.539 GB, free: 7.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.379, allocations: 365.2 kB / 0.5393 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.379, allocations: 27.2 kB / 0.5394 GB, free: 6.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3792, allocations: 70.41 kB / 0.5394 GB, free: 6.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3794, allocations: 85.73 kB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3794, allocations: 5.031 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003466/0.3797, allocations: 174.5 kB / 0.5397 GB, free: 6.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3798, allocations: 10.31 kB / 0.5397 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3798, allocations: 1.125 kB / 0.5397 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3798, allocations: 5.031 kB / 0.5397 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3799, allocations: 22.27 kB / 0.5397 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3799, allocations: 1.281 kB / 0.5397 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.38, allocations: 17.2 kB / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3801, allocations: 3.094 kB / 0.5397 GB, free: 6.652 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.0002646/0.3803, allocations: 236.2 kB / 0.54 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3804, allocations: 50.52 kB / 0.54 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3805, allocations: 58.97 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3805, allocations: 1.406 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3805, allocations: 0 / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3806, allocations: 0.9062 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.381, allocations: 344.7 kB / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.381, allocations: 1.062 kB / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.381, allocations: 10.55 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3811, allocations: 1.094 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3811, allocations: 5.094 kB / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3811, allocations: 9.062 kB / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3811, allocations: 1.094 kB / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.3815, allocations: 205 kB / 0.5406 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3817, allocations: 137.2 kB / 0.5408 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3817, allocations: 6.172 kB / 0.5408 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.3818, allocations: 7.219 kB / 0.5408 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3819, allocations: 12.95 kB / 0.5408 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.3819, allocations: 4.156 kB / 0.5408 GB, free: 5.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009241/0.3828, allocations: 0.7601 MB / 0.5415 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3828, allocations: 3.938 kB / 0.5415 GB, free: 5.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3831, allocations: 49.05 kB / 0.5416 GB, free: 5.445 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.002144/0.3853, allocations: 1.045 MB / 0.5426 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3856, allocations: 79.02 kB / 0.5427 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3856, allocations: 0 / 0.5427 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3857, allocations: 44.02 kB / 0.5427 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3862, allocations: 67.36 kB / 0.5428 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.392, allocations: 4.484 MB / 0.5472 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.3926, allocations: 0.8349 MB / 0.548 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.3928, allocations: 66.92 kB / 0.548 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.393, allocations: 147.4 kB / 0.5482 GB, free: 15.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.554e-06/0.393, allocations: 0 / 0.5482 GB, free: 15.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.4269, allocations: 8.945 MB / 0.5569 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.112, allocations: 14.73 kB / 0.5569 GB, free: 6.539 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)