Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 117.2 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.001325/0.001325, allocations: 200.6 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.407/1.407, allocations: 227.4 MB / 247 MB, free: 10.47 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.2211/0.2211, 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.002234/0.002234, allocations: 79.81 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3435, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003277/0.3468, allocations: 1.922 MB / 0.5326 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3487, allocations: 1.128 MB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.3488, allocations: 1.375 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.3492, allocations: 223.9 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.3497, allocations: 217.2 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3499, allocations: 123.5 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.3502, allocations: 255 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3504, allocations: 25.39 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3505, allocations: 119.5 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.3507, allocations: 166 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3508, allocations: 11.97 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3509, allocations: 63.11 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.351, allocations: 57.72 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.3511, allocations: 90.53 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3514, allocations: 242.5 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3514, allocations: 3.938 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3514, allocations: 1.375 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3514, allocations: 0 / 0.5352 GB, free: 10.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007571/0.3522, allocations: 0.5763 MB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3522, allocations: 10.09 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.3523, allocations: 36.84 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.3524, allocations: 30.53 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3527, allocations: 295.8 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3528, allocations: 2.531 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3528, allocations: 17.12 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.353, allocations: 111.6 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3531, allocations: 1.344 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3531, allocations: 5.188 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3531, allocations: 1.094 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3532, allocations: 45.5 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3538, allocations: 482.6 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.3542, allocations: 126.8 kB / 0.5369 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3543, allocations: 48.97 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3543, allocations: 2.219 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3546, allocations: 124.5 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3546, allocations: 0 / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001341/0.3559, allocations: 0.496 MB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.356, allocations: 84.67 kB / 0.5376 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.3565, allocations: 452.1 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3565, allocations: 32.23 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3567, allocations: 159.2 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.3567, allocations: 73.69 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.3568, allocations: 45.23 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.357, allocations: 344.6 kB / 0.5387 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3572, allocations: 53.45 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3574, allocations: 103.6 kB / 0.5388 GB, free: 7.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3576, allocations: 161.3 kB / 0.539 GB, free: 6.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3576, allocations: 0 / 0.539 GB, free: 6.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004057/0.3581, allocations: 234.7 kB / 0.5392 GB, free: 6.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3581, allocations: 10.41 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3581, allocations: 1.094 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3581, allocations: 2.031 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3583, allocations: 46.58 kB / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3583, allocations: 1.312 kB / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.3584, allocations: 16.75 kB / 0.5393 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3584, allocations: 10.19 kB / 0.5393 GB, free: 6.75 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000168/0.3586, allocations: 164.8 kB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.3586, allocations: 38.72 kB / 0.5395 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.3587, allocations: 40.66 kB / 0.5395 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3587, allocations: 6.781 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3588, allocations: 0 / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3588, allocations: 5.422 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.3597, allocations: 0.7272 MB / 0.5402 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3597, allocations: 1.219 kB / 0.5402 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.3598, allocations: 32.59 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3598, allocations: 1.25 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.3599, allocations: 9.453 kB / 0.5403 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3599, allocations: 1.375 kB / 0.5403 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3599, allocations: 6.438 kB / 0.5403 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.3603, allocations: 423.5 kB / 0.5407 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.3604, allocations: 106.6 kB / 0.5408 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3605, allocations: 2.875 kB / 0.5408 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3606, allocations: 12.27 kB / 0.5408 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.3607, allocations: 28.95 kB / 0.5408 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3607, allocations: 8.844 kB / 0.5408 GB, free: 5.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.361, allocations: 335.1 kB / 0.5412 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3611, allocations: 0 / 0.5412 GB, free: 5.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3614, allocations: 48.2 kB / 0.5412 GB, free: 5.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002604/0.364, allocations: 1.362 MB / 0.5425 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.3644, allocations: 167.3 kB / 0.5427 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3644, allocations: 0 / 0.5427 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3646, allocations: 83.69 kB / 0.5428 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.3651, allocations: 70.11 kB / 0.5429 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3686, allocations: 2.892 MB / 0.5457 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.3691, allocations: 0.7794 MB / 0.5464 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.3692, allocations: 37.92 kB / 0.5465 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3694, allocations: 95.39 kB / 0.5466 GB, free: 1.031 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3694, allocations: 0 / 0.5466 GB, free: 1.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3962, allocations: 6.438 MB / 0.5529 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.887, allocations: 11.84 kB / 0.5529 GB, free: 10.7 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)