Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001986/0.001986, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002793/0.002793, allocations: 206 kB / 18.74 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.478/1.478, 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.2425/0.2425, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002252/0.002252, allocations: 72.11 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003096/0.3471, allocations: 1.59 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3481, allocations: 0.5356 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.3482, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3484, allocations: 30.89 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.3488, allocations: 76.67 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.349, allocations: 87.66 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3492, allocations: 69.94 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3493, allocations: 9.5 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.3494, allocations: 25.48 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.3495, allocations: 21.36 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3495, allocations: 6.734 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.3496, allocations: 32.62 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.3496, allocations: 16.05 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3497, allocations: 16 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3499, allocations: 86.28 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3499, allocations: 1.281 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3499, allocations: 4 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3499, allocations: 0 / 0.5332 GB, free: 11.43 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.0005194/0.3504, allocations: 383.8 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3505, allocations: 10.56 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.3505, allocations: 38.73 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3506, allocations: 8.297 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3508, allocations: 188.4 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3508, allocations: 1.594 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3508, allocations: 2.062 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.351, allocations: 63.5 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.351, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.351, allocations: 5.062 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.351, allocations: 1 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.3511, allocations: 20.7 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3515, allocations: 275.3 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3517, allocations: 47.81 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.3518, allocations: 15.44 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3518, allocations: 7.984 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3519, allocations: 36 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3519, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005581/0.3524, allocations: 141.1 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3525, allocations: 60.52 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3527, allocations: 155.8 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3527, allocations: 25.7 kB / 0.5346 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3528, allocations: 96.38 kB / 0.5347 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3528, allocations: 18.02 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.3528, allocations: 13.12 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.353, allocations: 329.2 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.3531, allocations: 18.61 kB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.3531, allocations: 19.02 kB / 0.5351 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3533, allocations: 43.92 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3533, allocations: 0 / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.3535, allocations: 85.31 kB / 0.5352 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3535, allocations: 8.656 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3535, allocations: 1.125 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3535, allocations: 0 / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.3536, allocations: 13.77 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3536, allocations: 5.078 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.3537, allocations: 6.234 kB / 0.5352 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3537, allocations: 6.812 kB / 0.5352 GB, free: 9.398 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.453e-05/0.3538, allocations: 113.7 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3538, allocations: 8.016 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.354, allocations: 96.97 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3541, allocations: 1.125 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3541, allocations: 0 / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3541, allocations: 3.984 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3545, allocations: 342.9 kB / 0.5358 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3545, allocations: 1.375 kB / 0.5358 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.3546, allocations: 21.55 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3546, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3546, allocations: 1.375 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3546, allocations: 3.938 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3546, allocations: 0 / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3549, allocations: 180.5 kB / 0.536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3549, allocations: 82.44 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.355, allocations: 5.375 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.355, allocations: 6.688 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3551, allocations: 10.67 kB / 0.5361 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3551, allocations: 1.375 kB / 0.5361 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.3552, allocations: 115.2 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3552, allocations: 1.375 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3554, allocations: 17.55 kB / 0.5362 GB, free: 8.465 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.001894/0.3573, allocations: 1.013 MB / 0.5372 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3575, allocations: 48.83 kB / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3575, allocations: 0 / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.3576, allocations: 31.05 kB / 0.5373 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.358, allocations: 14.81 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3597, allocations: 1.432 MB / 0.5387 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3601, allocations: 0.6908 MB / 0.5393 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.3601, allocations: 20.97 kB / 0.5394 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.3602, allocations: 28.45 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3602, allocations: 0 / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3841, allocations: 2.546 MB / 0.5419 GB, free: 4.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.548, allocations: 8.719 kB / 0.5419 GB, free: 4.113 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)