Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00165/0.00165, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 247 MB, free: 10.41 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.2257/0.2257, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002375/0.002375, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3872, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003057/0.3903, allocations: 1.83 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.393, allocations: 1.698 MB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.3931, allocations: 1.281 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3934, allocations: 58.28 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.3938, allocations: 138 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3941, allocations: 100.9 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.3944, allocations: 203.2 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.3944, allocations: 13.94 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3945, allocations: 84.62 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3948, allocations: 83.09 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3948, allocations: 9.625 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.395, allocations: 119.1 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.3951, allocations: 32.11 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.3952, allocations: 62.72 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.3955, allocations: 226.5 kB / 0.5352 GB, free: 9.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3955, allocations: 0 / 0.5352 GB, free: 9.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3955, allocations: 0 / 0.5352 GB, free: 9.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3956, allocations: 0 / 0.5352 GB, free: 9.863 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.0007263/0.3963, allocations: 0.5028 MB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3963, allocations: 8.812 kB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.3964, allocations: 36.97 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3965, allocations: 16.56 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3968, allocations: 267.3 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3969, allocations: 1.438 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3969, allocations: 7.25 kB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3971, allocations: 103.4 kB / 0.5361 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3971, allocations: 5.156 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3971, allocations: 0 / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3972, allocations: 1.156 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3973, allocations: 32.06 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3976, allocations: 222.2 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3979, allocations: 113.7 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.398, allocations: 37.17 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.398, allocations: 6.375 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3982, allocations: 108.3 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.3982, allocations: 0 / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004609/0.3987, allocations: 175.9 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.3988, allocations: 130.8 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3991, allocations: 247.3 kB / 0.5371 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3991, allocations: 26.98 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.3992, allocations: 119.5 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3993, allocations: 28.95 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.3993, allocations: 30.61 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3995, allocations: 332.3 kB / 0.5377 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.3996, allocations: 26.8 kB / 0.5377 GB, free: 7.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3997, allocations: 74.3 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3999, allocations: 86.28 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3999, allocations: 3.938 kB / 0.5378 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.4002, allocations: 141.6 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4002, allocations: 5.406 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4002, allocations: 1.281 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4002, allocations: 1.312 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4004, allocations: 22.11 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4004, allocations: 1.344 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.4005, allocations: 13.33 kB / 0.538 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4005, allocations: 7.469 kB / 0.538 GB, free: 7.246 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001351/0.4006, allocations: 141.3 kB / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.4007, allocations: 17.31 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.4007, allocations: 23.39 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4007, allocations: 1.688 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4008, allocations: 1.031 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4008, allocations: 4 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.401, allocations: 231.8 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.401, allocations: 1.281 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.401, allocations: 6.469 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.4011, allocations: 5.469 kB / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4011, allocations: 1.344 kB / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4011, allocations: 1.25 kB / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4011, allocations: 0 / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4014, allocations: 176.3 kB / 0.5386 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.4015, allocations: 93.42 kB / 0.5387 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4015, allocations: 2.062 kB / 0.5387 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.4016, allocations: 15.39 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.4017, allocations: 8.203 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4017, allocations: 8.094 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.4019, allocations: 179.8 kB / 0.5389 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.4019, allocations: 0 / 0.5389 GB, free: 6.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.4022, allocations: 62.48 kB / 0.539 GB, free: 6.422 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002311/0.4045, allocations: 1.099 MB / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4048, allocations: 87.45 kB / 0.5401 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4048, allocations: 1.156 kB / 0.5401 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4049, allocations: 38.89 kB / 0.5401 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4053, allocations: 68.12 kB / 0.5402 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4077, allocations: 1.874 MB / 0.542 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.4082, allocations: 0.7258 MB / 0.5428 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.4083, allocations: 36.14 kB / 0.5428 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4084, allocations: 54.75 kB / 0.5428 GB, free: 3.191 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4084, allocations: 4 kB / 0.5428 GB, free: 3.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.4379, allocations: 5.297 MB / 0.548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.562, allocations: 8.828 kB / 0.548 GB, free: 15.6 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)