Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 121.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.002168/0.002168, allocations: 204.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.549/1.549, 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.2452/0.2452, 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.002287/0.002287, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3682, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003398/0.3716, allocations: 1.602 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3736, allocations: 1.16 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.3737, allocations: 1.375 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.374, allocations: 19.98 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.3743, allocations: 85.08 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3745, allocations: 91.61 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3747, allocations: 69.39 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.3748, allocations: 10.38 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.3749, allocations: 30.31 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.375, allocations: 34.47 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3751, allocations: 4.094 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3753, allocations: 99.69 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.3753, allocations: 14.48 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3754, allocations: 24.95 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3756, allocations: 142.2 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3756, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3757, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3757, allocations: 1.406 kB / 0.5339 GB, free: 10.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005555/0.3762, allocations: 402.8 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3763, allocations: 9.875 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.3763, allocations: 31.84 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3764, allocations: 12.66 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3766, allocations: 192.4 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3766, allocations: 13.55 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3767, allocations: 2.938 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3768, allocations: 63.81 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3769, allocations: 4 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3769, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3769, allocations: 1.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.377, allocations: 28.81 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.3774, allocations: 275.2 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3776, allocations: 42.69 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.3777, allocations: 19.53 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3777, allocations: 1.188 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3777, allocations: 31.5 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3777, allocations: 4 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005456/0.3783, allocations: 137.8 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3784, allocations: 78.58 kB / 0.5352 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3785, allocations: 152.5 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3786, allocations: 29.7 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.3786, allocations: 94.83 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3787, allocations: 22.59 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3787, allocations: 17.84 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3789, allocations: 325.5 kB / 0.5358 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.3789, allocations: 13.61 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.379, allocations: 35.45 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3792, allocations: 48.23 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3792, allocations: 0 / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.3794, allocations: 84.06 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3794, allocations: 5.5 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3794, allocations: 1.375 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3794, allocations: 0 / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.3795, allocations: 17.61 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3795, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3796, allocations: 12.06 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3796, allocations: 1.375 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000105/0.3797, allocations: 118 kB / 0.5361 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3797, allocations: 8.078 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.38, allocations: 88.16 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.38, allocations: 1.656 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.38, allocations: 0 / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.38, allocations: 7.938 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.3805, allocations: 346.5 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3805, allocations: 13.28 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.3806, allocations: 17.56 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3806, allocations: 0 / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3806, allocations: 5.312 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3806, allocations: 0 / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3806, allocations: 0 / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3808, allocations: 179.8 kB / 0.5368 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3809, allocations: 83.47 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3809, allocations: 5.25 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.381, allocations: 7.766 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.381, allocations: 1.125 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.381, allocations: 10.31 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3812, allocations: 116.5 kB / 0.537 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.3812, allocations: 0 / 0.537 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3815, allocations: 47.58 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002154/0.3836, allocations: 1.092 MB / 0.5381 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3839, allocations: 56.53 kB / 0.5382 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3839, allocations: 0 / 0.5382 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.384, allocations: 23.73 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3843, allocations: 16.61 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3861, allocations: 1.428 MB / 0.5396 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3865, allocations: 0.6931 MB / 0.5403 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.3865, allocations: 22.84 kB / 0.5403 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.3866, allocations: 34.31 kB / 0.5403 GB, free: 4.809 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3866, allocations: 1.188 kB / 0.5403 GB, free: 4.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.4137, allocations: 3.22 MB / 0.5435 GB, free: 2.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.636, allocations: 2.969 kB / 0.5435 GB, free: 2.969 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1)