Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, 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.001825/0.001825, 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.632/1.632, 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.2362/0.2362, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.003342/0.003342, allocations: 84.08 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3501, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003205/0.3533, allocations: 1.729 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3551, allocations: 1.018 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.3552, allocations: 1.344 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.3555, allocations: 51.81 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.3558, allocations: 92.36 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3561, allocations: 87.22 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3562, allocations: 106.2 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.3563, allocations: 13.64 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.3565, allocations: 44.38 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.3565, allocations: 29.89 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3566, allocations: 3.531 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3567, allocations: 44.59 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.3567, allocations: 20.48 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.3568, allocations: 48.36 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.357, allocations: 125 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.357, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.357, allocations: 5.219 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3571, allocations: 0 / 0.534 GB, free: 10.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005844/0.3576, allocations: 444 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3577, allocations: 9.844 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.3577, allocations: 36.58 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3578, allocations: 9.734 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3581, allocations: 223.9 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3581, allocations: 5.594 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3582, allocations: 5.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3583, allocations: 58.36 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3583, allocations: 0 / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3584, allocations: 1.344 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3584, allocations: 1.188 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.3584, allocations: 18.27 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3589, allocations: 301.3 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3591, allocations: 58.2 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.3591, allocations: 21.09 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3592, allocations: 1.375 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3593, allocations: 65.14 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3594, allocations: 4 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.3599, allocations: 183.7 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.36, allocations: 56.72 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.3602, allocations: 240 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3603, allocations: 27.08 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.3604, allocations: 109.6 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.3604, allocations: 19.98 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3604, allocations: 32.58 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3606, allocations: 326.9 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.3607, allocations: 22.98 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.3607, allocations: 39.39 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3609, allocations: 51.84 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3609, allocations: 0 / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.3611, allocations: 115.7 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3611, allocations: 5.406 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3611, allocations: 1.125 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3611, allocations: 1.031 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.3612, allocations: 16.8 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3613, allocations: 1.156 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.3613, allocations: 13.88 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3613, allocations: 7.25 kB / 0.5364 GB, free: 8.523 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 (10): * Single equations (assignments): 10 * 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.0001181/0.3615, allocations: 129.9 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.3615, allocations: 14.28 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.3616, allocations: 23.64 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3616, allocations: 1.375 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3616, allocations: 384 / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3616, allocations: 9.203 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3621, allocations: 396.9 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3621, allocations: 4.656 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.3622, allocations: 11.77 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3622, allocations: 8.75 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3622, allocations: 1.906 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3622, allocations: 1.219 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3622, allocations: 1.156 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3625, allocations: 204.4 kB / 0.5372 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.3625, allocations: 93.3 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.3626, allocations: 17.05 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.3627, allocations: 2.281 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.3627, allocations: 3.312 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3627, allocations: 7.453 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3629, allocations: 174.1 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3629, allocations: 0 / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3632, allocations: 25.55 kB / 0.5375 GB, free: 7.539 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: 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 (8): * Single equations (assignments): 6 * 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.002128/0.3653, allocations: 1.093 MB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3655, allocations: 66.44 kB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3655, allocations: 0 / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.3656, allocations: 20.97 kB / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.366, allocations: 39.23 kB / 0.5387 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3681, allocations: 1.751 MB / 0.5404 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3685, allocations: 0.7128 MB / 0.5411 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.3685, allocations: 18.44 kB / 0.5411 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.3686, allocations: 39.39 kB / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3686, allocations: 0 / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3936, allocations: 3.62 MB / 0.5447 GB, free: 2.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.462, allocations: 13.22 kB / 0.5447 GB, free: 2.441 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)