Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001391, allocations: 122.2 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.001583/0.001583, 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.527/1.527, allocations: 227.4 MB / 247 MB, free: 10.45 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.2309/0.2309, allocations: 46.11 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.002293/0.002293, allocations: 75.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3043, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00293/0.3073, allocations: 1.599 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3083, allocations: 0.5392 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.3084, allocations: 4 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3086, allocations: 22.92 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.3089, allocations: 77.05 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3092, allocations: 105.5 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3093, allocations: 65.95 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.3094, allocations: 16.25 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.3095, allocations: 32.03 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.3096, allocations: 22.73 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3096, allocations: 2.75 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.3097, allocations: 31.67 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.3097, allocations: 16.25 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.3098, allocations: 28 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.31, allocations: 80.08 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.31, allocations: 0 / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.31, allocations: 0 / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.31, allocations: 1.375 kB / 0.5332 GB, free: 11.4 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.0005384/0.3105, allocations: 388 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3106, allocations: 8.531 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.3106, allocations: 32.03 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.3107, allocations: 8.516 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3109, allocations: 199.6 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3109, allocations: 1.688 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3109, allocations: 7.156 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3111, allocations: 51.95 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3111, allocations: 4 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3111, allocations: 1.281 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3111, allocations: 0 / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.3112, allocations: 25.47 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.3116, allocations: 280.7 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3119, allocations: 56.2 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3119, allocations: 12.48 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3119, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.312, allocations: 39.83 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.312, allocations: 0 / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005523/0.3125, allocations: 147.7 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3126, allocations: 55.41 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3128, allocations: 157.8 kB / 0.5346 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3128, allocations: 27.11 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.3129, allocations: 95.31 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3129, allocations: 17.02 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3129, allocations: 19.16 kB / 0.5348 GB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3131, allocations: 320.9 kB / 0.5351 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.3132, allocations: 23.23 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3132, allocations: 25.47 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3134, allocations: 58.39 kB / 0.5352 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3134, allocations: 0 / 0.5352 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002001/0.3136, allocations: 83.66 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3136, allocations: 6.438 kB / 0.5353 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3136, allocations: 11.92 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3137, allocations: 0 / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3137, allocations: 10.19 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3137, allocations: 0 / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.3138, allocations: 7.859 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3138, allocations: 9.156 kB / 0.5353 GB, free: 9.355 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.95e-05/0.3139, allocations: 118.8 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3139, allocations: 8.547 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.3142, allocations: 99.98 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3142, allocations: 0 / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3142, allocations: 1.375 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3142, allocations: 0 / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3147, allocations: 359.9 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3147, allocations: 0 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.3148, allocations: 13.61 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3148, allocations: 4 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3148, allocations: 1.375 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3148, allocations: 3.938 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3148, allocations: 1.562 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3151, allocations: 185.8 kB / 0.536 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3151, allocations: 83.81 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3151, allocations: 4 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.3152, allocations: 16.05 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3153, allocations: 5.312 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.3153, allocations: 1.375 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.3154, allocations: 118.6 kB / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3154, allocations: 0 / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3156, allocations: 14.94 kB / 0.5363 GB, free: 8.406 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.001935/0.3176, allocations: 1.014 MB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3178, allocations: 59.52 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3178, allocations: 0 / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.3179, allocations: 24.55 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3183, allocations: 25.05 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.32, allocations: 1.469 MB / 0.5388 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3203, allocations: 0.6913 MB / 0.5395 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.3204, allocations: 23.8 kB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.3204, allocations: 25.14 kB / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3205, allocations: 0 / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3437, allocations: 2.569 MB / 0.542 GB, free: 4.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.309, allocations: 10.84 kB / 0.5421 GB, free: 4.016 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_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_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1)