Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 122.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.001242/0.001242, allocations: 202 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.2269/0.2269, 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.002325/0.002325, allocations: 79.81 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.354, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003095/0.3572, allocations: 1.623 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3583, allocations: 0.5502 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.3583, allocations: 1.375 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3586, allocations: 76.77 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.359, allocations: 98.56 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3593, allocations: 119.6 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3595, allocations: 79.88 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3597, allocations: 20.55 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.3597, allocations: 35.64 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3599, allocations: 52.77 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3599, allocations: 6.531 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.36, allocations: 46.17 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.3601, allocations: 19.7 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.3601, allocations: 37.25 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3604, allocations: 109.5 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3604, allocations: 1.344 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3604, allocations: 0 / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3604, allocations: 0 / 0.5334 GB, free: 11.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005603/0.3609, allocations: 419.3 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.361, allocations: 9.875 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.361, allocations: 40.03 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3611, allocations: 13.75 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3613, allocations: 204.7 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3613, allocations: 5.688 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3613, allocations: 3.156 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3615, allocations: 58.52 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3615, allocations: 1.969 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3615, allocations: 3.984 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3615, allocations: 3.938 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3617, allocations: 37.09 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.3621, allocations: 302.9 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3622, allocations: 47.77 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.3623, allocations: 13.86 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.3623, allocations: 96 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3623, allocations: 43.73 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3623, allocations: 0 / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009287/0.3633, allocations: 238.5 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3633, allocations: 52.78 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3636, allocations: 215.2 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3636, allocations: 25.7 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3637, allocations: 113.6 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3637, allocations: 27.86 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.3638, allocations: 23.3 kB / 0.5352 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3639, allocations: 323 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.364, allocations: 40.45 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.3641, allocations: 24.48 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.3643, allocations: 77.94 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3643, allocations: 0 / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002301/0.3645, allocations: 113.7 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3646, allocations: 5.5 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3646, allocations: 0 / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3646, allocations: 0 / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.3647, allocations: 17.73 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3647, allocations: 5.625 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3648, allocations: 6.75 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3648, allocations: 6.734 kB / 0.5358 GB, free: 9.023 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 (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 prepare postOptimizeDAE: time 0.0001194/0.3649, allocations: 124.6 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.365, allocations: 13.25 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3653, allocations: 134.4 kB / 0.5361 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3653, allocations: 1.156 kB / 0.5361 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3653, allocations: 7.875 kB / 0.5361 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3653, allocations: 1 kB / 0.5361 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.3659, allocations: 426.7 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3659, allocations: 1.125 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.366, allocations: 22.36 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.366, allocations: 0 / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.366, allocations: 1.188 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.366, allocations: 5.125 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.366, allocations: 1.125 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3663, allocations: 216.8 kB / 0.5368 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.3664, allocations: 96.66 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3664, allocations: 1.281 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3665, allocations: 11.23 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.3665, allocations: 7.438 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3665, allocations: 2.312 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.3667, allocations: 167.7 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3667, allocations: 0 / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3669, allocations: 22.67 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002244/0.3692, allocations: 1.097 MB / 0.5381 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3695, allocations: 86.92 kB / 0.5382 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3695, allocations: 1.188 kB / 0.5382 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3696, allocations: 35.08 kB / 0.5382 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.37, allocations: 15.89 kB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3722, allocations: 1.72 MB / 0.5399 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3726, allocations: 0.7129 MB / 0.5406 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.3727, allocations: 16.12 kB / 0.5406 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.3728, allocations: 33.3 kB / 0.5407 GB, free: 4.816 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3728, allocations: 1.062 kB / 0.5407 GB, free: 4.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.397, allocations: 3.169 MB / 0.5438 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.584, allocations: 8.594 kB / 0.5438 GB, free: 3.098 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1)