Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001402, allocations: 118.8 kB / 17.79 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.001433/0.001433, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247 MB, free: 10.44 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.2402/0.2402, 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.002324/0.002324, allocations: 76.09 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3717, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003044/0.3748, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3768, allocations: 1.166 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3768, allocations: 1.25 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3771, allocations: 28.64 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.3774, allocations: 81.41 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.3777, allocations: 110.5 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3779, allocations: 70.69 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.378, allocations: 15.75 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.378, allocations: 26.02 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3782, allocations: 34.47 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3782, allocations: 3.781 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3784, allocations: 99.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.3784, allocations: 19.64 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3785, allocations: 15.91 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3787, allocations: 147.5 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3787, allocations: 4 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3787, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3788, allocations: 1.406 kB / 0.534 GB, free: 10.8 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.0005149/0.3793, allocations: 398.8 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3793, allocations: 10.41 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.3794, allocations: 30.75 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.3794, allocations: 9.234 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3796, allocations: 204.8 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3796, allocations: 1.781 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3797, allocations: 9.797 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3798, allocations: 68.33 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3799, allocations: 5.312 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3799, allocations: 3.938 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3799, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.38, allocations: 25.72 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3804, allocations: 286.8 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3806, allocations: 45.81 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3807, allocations: 15.81 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3807, allocations: 1.375 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3807, allocations: 38.56 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3807, allocations: 1.375 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005933/0.3813, allocations: 150 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3814, allocations: 78.48 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3816, allocations: 145.3 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3816, allocations: 31.02 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3817, allocations: 98.81 kB / 0.5355 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3817, allocations: 14.61 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3818, allocations: 21.84 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3819, allocations: 325.5 kB / 0.5359 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.382, allocations: 18.98 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.3821, allocations: 36.81 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3822, allocations: 54.98 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3823, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/0.3825, allocations: 87.98 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3825, allocations: 8 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3825, allocations: 0 / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3825, allocations: 3.938 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3826, allocations: 9.625 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.3826, allocations: 5.359 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.3826, allocations: 6.688 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3827, allocations: 5.375 kB / 0.5361 GB, free: 8.68 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 9.009e-05/0.3828, allocations: 115.3 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3828, allocations: 6.703 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.383, allocations: 96.33 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3831, allocations: 1.375 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3831, allocations: 0 / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3831, allocations: 9.25 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3835, allocations: 366.8 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3836, allocations: 0 / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.3836, allocations: 14.27 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3836, allocations: 0 / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3837, allocations: 5.312 kB / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3837, allocations: 0 / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3837, allocations: 5.219 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3839, allocations: 186.6 kB / 0.5369 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.384, allocations: 86.25 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.384, allocations: 5.031 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.3841, allocations: 8.234 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.3841, allocations: 1.281 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.3842, allocations: 2.5 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3843, allocations: 113.7 kB / 0.5371 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3843, allocations: 4 kB / 0.5371 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3846, allocations: 41.11 kB / 0.5371 GB, free: 7.715 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.002146/0.3867, allocations: 1.107 MB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.387, allocations: 62.52 kB / 0.5383 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.387, allocations: 1.125 kB / 0.5383 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.3871, allocations: 28.52 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3874, allocations: 16.3 kB / 0.5383 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3892, allocations: 1.455 MB / 0.5397 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3896, allocations: 0.694 MB / 0.5404 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.3897, allocations: 17.73 kB / 0.5404 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3897, allocations: 34.06 kB / 0.5405 GB, free: 4.73 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3897, allocations: 1.219 kB / 0.5405 GB, free: 4.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.4179, allocations: 3.246 MB / 0.5436 GB, free: 2.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.532, allocations: 7.094 kB / 0.5436 GB, free: 2.875 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35_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_CombiTable1Dv_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1)