Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001863/0.001864, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002186, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, 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.2355/0.2355, 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.00232/0.00232, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3714, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.002998/0.3744, allocations: 1.599 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3763, allocations: 1.16 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.3765, allocations: 0 / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3767, allocations: 17.77 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.377, allocations: 84.3 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3773, allocations: 99.12 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3775, allocations: 59.41 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3776, allocations: 21.41 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.3776, allocations: 30.86 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3778, allocations: 33.41 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3778, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.378, allocations: 100.2 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.3781, allocations: 10.69 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3781, allocations: 31.91 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3784, allocations: 139.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3784, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3784, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3784, allocations: 0 / 0.5339 GB, free: 10.81 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.0005399/0.379, allocations: 403.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.379, allocations: 9.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.3791, allocations: 36.62 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3791, allocations: 8.016 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3794, allocations: 202.1 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3794, allocations: 384 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3794, allocations: 2.281 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3796, allocations: 71.58 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3796, allocations: 0.8438 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3796, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3797, allocations: 1.031 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.3798, allocations: 25.8 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3802, allocations: 278.1 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3804, allocations: 48.06 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.3805, allocations: 11.92 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3805, allocations: 4.078 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3805, allocations: 32.06 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3805, allocations: 0 / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006566/0.3812, allocations: 146.2 kB / 0.5351 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3813, allocations: 77.11 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3815, allocations: 145.6 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3815, allocations: 25.7 kB / 0.5354 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3816, allocations: 99.44 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3816, allocations: 14.08 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3817, allocations: 22.48 kB / 0.5355 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3818, allocations: 321.1 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.3819, allocations: 26.64 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.382, allocations: 33.94 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3821, allocations: 43.88 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3821, allocations: 1.156 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.3823, allocations: 88.17 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3824, allocations: 9.406 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3824, allocations: 0 / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3824, allocations: 1.125 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.3825, allocations: 17.17 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3825, allocations: 1.156 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.3825, allocations: 7.281 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3825, allocations: 1.156 kB / 0.536 GB, free: 8.711 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 8.847e-05/0.3826, allocations: 113.4 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.3827, allocations: 12.27 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3829, allocations: 92.7 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3829, allocations: 1.5 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.383, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.383, allocations: 3.938 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3834, allocations: 350.1 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3834, allocations: 5.312 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.3835, allocations: 17.02 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3835, allocations: 1.5 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3835, allocations: 4.125 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3835, allocations: 4 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3835, allocations: 1.656 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3838, allocations: 178.8 kB / 0.5368 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.3838, allocations: 87.81 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3839, allocations: 5.312 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3839, allocations: 14.72 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.384, allocations: 2.75 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.384, allocations: 1.375 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.3841, allocations: 114.5 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3841, allocations: 0 / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3844, allocations: 35.25 kB / 0.537 GB, free: 7.754 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.002189/0.3866, allocations: 1.103 MB / 0.5381 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3868, allocations: 48.12 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3868, allocations: 0 / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.3869, allocations: 28.27 kB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3873, allocations: 14.83 kB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.389, allocations: 1.428 MB / 0.5396 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3893, allocations: 0.6895 MB / 0.5403 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.631e-05/0.3894, allocations: 26.86 kB / 0.5403 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.3895, allocations: 26.11 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3895, allocations: 0 / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.4157, allocations: 3.229 MB / 0.5435 GB, free: 2.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.483, allocations: 5.594 kB / 0.5435 GB, free: 2.953 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1)