Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 122.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.00212/0.00212, allocations: 201.2 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.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.42 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.2267/0.2267, allocations: 46.12 MB / 344.3 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.002298/0.002298, allocations: 75.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.344, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003588/0.3476, allocations: 1.754 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.3499, allocations: 1.018 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3501, allocations: 1.406 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.3506, allocations: 58.86 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.351, allocations: 102.2 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3513, allocations: 79.98 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3516, allocations: 127.1 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3517, allocations: 16.19 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3519, allocations: 60.31 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.352, allocations: 43.09 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.352, allocations: 5.5 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3522, allocations: 63.84 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.3523, allocations: 33.48 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.3523, allocations: 45.34 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3527, allocations: 147.2 kB / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3527, allocations: 1.375 kB / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3527, allocations: 0 / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3527, allocations: 0 / 0.5342 GB, free: 10.72 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007391/0.3534, allocations: 446.2 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3535, allocations: 9.625 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.3536, allocations: 37.5 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3536, allocations: 18.34 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.3541, allocations: 231.3 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3541, allocations: 7.062 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3542, allocations: 10.69 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3544, allocations: 70.28 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3544, allocations: 1.375 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3544, allocations: 3.984 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3545, allocations: 1.375 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3546, allocations: 39.34 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.3552, allocations: 323.1 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.3555, allocations: 81.44 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.3556, allocations: 30.44 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3556, allocations: 2.312 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.3559, allocations: 95.61 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3559, allocations: 3.938 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008758/0.3568, allocations: 298 kB / 0.5358 GB, free: 9.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.3568, allocations: 57.56 kB / 0.5358 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.357, allocations: 191.1 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3571, allocations: 30.86 kB / 0.5361 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.3571, allocations: 106 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.3572, allocations: 54.3 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3573, allocations: 31.52 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3574, allocations: 327.3 kB / 0.5366 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.3575, allocations: 34.42 kB / 0.5366 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3577, allocations: 59.86 kB / 0.5366 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3579, allocations: 102.7 kB / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3579, allocations: 0 / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002929/0.3582, allocations: 145.8 kB / 0.5369 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3582, allocations: 8.625 kB / 0.5369 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3582, allocations: 0 / 0.5369 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3582, allocations: 1.344 kB / 0.5369 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3584, allocations: 36.45 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.3584, allocations: 1.156 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.3584, allocations: 2.312 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3584, allocations: 3.469 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001295/0.3586, allocations: 132.8 kB / 0.5371 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3586, allocations: 14.5 kB / 0.5371 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.3587, allocations: 24.89 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3587, allocations: 6.406 kB / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3587, allocations: 0 / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3587, allocations: 0 / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.3595, allocations: 0.4926 MB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3595, allocations: 1.25 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.3595, allocations: 18.97 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3595, allocations: 1.062 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3596, allocations: 6.234 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3596, allocations: 6.156 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3596, allocations: 1.031 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3599, allocations: 264.1 kB / 0.5379 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.36, allocations: 89.39 kB / 0.538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.3601, allocations: 10.05 kB / 0.538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3601, allocations: 6.125 kB / 0.538 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3602, allocations: 9.578 kB / 0.538 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3602, allocations: 9.422 kB / 0.538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3604, allocations: 147.9 kB / 0.5381 GB, free: 7.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3604, allocations: 4 kB / 0.5381 GB, free: 7.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3607, allocations: 34.45 kB / 0.5382 GB, free: 7.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002434/0.3631, allocations: 1.194 MB / 0.5393 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3634, allocations: 96.69 kB / 0.5394 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3634, allocations: 0 / 0.5394 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3635, allocations: 49.55 kB / 0.5395 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3639, allocations: 37.34 kB / 0.5395 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3662, allocations: 1.866 MB / 0.5413 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3666, allocations: 0.7151 MB / 0.542 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.3667, allocations: 29.91 kB / 0.5421 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.3668, allocations: 47.33 kB / 0.5421 GB, free: 3.887 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3668, allocations: 0 / 0.5421 GB, free: 3.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3921, allocations: 4.061 MB / 0.5461 GB, free: 1.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.49, allocations: 6.016 kB / 0.5461 GB, free: 1.742 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)