Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 122.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.00137/0.00137, 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.46 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.2302/0.2302, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002804/0.002804, allocations: 87.84 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3474, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002971/0.3504, allocations: 1.61 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3514, allocations: 0.5395 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3515, allocations: 1.031 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.3517, allocations: 32.75 kB / 0.5328 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.352, allocations: 76.03 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3523, allocations: 94.91 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3524, allocations: 81.12 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3525, allocations: 10.72 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.3526, allocations: 26.27 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.3527, allocations: 33.7 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3527, allocations: 4.375 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3529, allocations: 107 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.353, allocations: 11.12 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.353, allocations: 29.73 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3534, allocations: 153 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3534, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3534, allocations: 9.438 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.3534, allocations: 0 / 0.5334 GB, free: 11.3 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.0005519/0.354, allocations: 413.6 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.354, allocations: 10.09 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.354, allocations: 31.97 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.3541, allocations: 8.578 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3543, allocations: 198 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3543, allocations: 1.562 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3544, allocations: 2.75 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3546, allocations: 77.45 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3546, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3546, allocations: 0 / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3546, allocations: 1.062 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3547, allocations: 35.66 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.3552, allocations: 302.9 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3554, allocations: 63.25 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3554, allocations: 23.97 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3555, allocations: 1.375 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3555, allocations: 35.94 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3555, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006664/0.3562, allocations: 190.6 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3562, allocations: 78.48 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3564, allocations: 157 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3565, allocations: 25.7 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3565, allocations: 100.2 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3566, allocations: 26.53 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.3566, allocations: 24.59 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3568, allocations: 325.5 kB / 0.5354 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.3569, allocations: 33.8 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.357, allocations: 46.31 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3572, allocations: 69.94 kB / 0.5355 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3572, allocations: 5.406 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/0.3574, allocations: 115 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3575, allocations: 8.125 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3575, allocations: 0 / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3575, allocations: 1.375 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3576, allocations: 27.05 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3576, allocations: 0 / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3577, allocations: 8.109 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3577, allocations: 6.688 kB / 0.5357 GB, free: 9.082 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 (9): * Single equations (assignments): 9 * 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.194e-05/0.3578, allocations: 121.9 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.3579, allocations: 13.28 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3582, allocations: 113.7 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3582, allocations: 1.094 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3582, allocations: 0 / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3582, allocations: 0 / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.3587, allocations: 407.7 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3588, allocations: 1.469 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.3588, allocations: 17.02 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.3588, allocations: 3.938 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3589, allocations: 9.344 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3589, allocations: 1.062 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3589, allocations: 80 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3592, allocations: 204 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3592, allocations: 87.3 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3593, allocations: 9.094 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.3593, allocations: 3.469 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3594, allocations: 7.516 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.3594, allocations: 1.25 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3595, allocations: 121.5 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3595, allocations: 4 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.3598, allocations: 43.7 kB / 0.5368 GB, free: 8.062 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 (8): * Single equations (assignments): 8 * 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.002354/0.3622, allocations: 1.129 MB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3625, allocations: 79.16 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3625, allocations: 1.312 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.3626, allocations: 33.86 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.363, allocations: 22.02 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3649, allocations: 1.549 MB / 0.5396 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3652, allocations: 0.7081 MB / 0.5403 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.3653, allocations: 17.36 kB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.3654, allocations: 31.17 kB / 0.5403 GB, free: 5.02 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3654, allocations: 0 / 0.5403 GB, free: 5.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3905, allocations: 3.554 MB / 0.5438 GB, free: 3.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/8.907, allocations: 6.609 kB / 0.5438 GB, free: 3.027 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1)