Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001825/0.001825, allocations: 118.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.001998/0.001998, allocations: 198 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.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.42 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.2409/0.2409, allocations: 46.11 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.002321/0.002321, allocations: 87.8 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3108, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002935/0.3138, allocations: 1.679 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3148, allocations: 0.574 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.3149, allocations: 5.812 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.3157, allocations: 452.5 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3161, allocations: 292.7 kB / 0.5336 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3166, allocations: 181.8 kB / 0.5337 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.3168, allocations: 178.5 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3169, allocations: 23.22 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.317, allocations: 118.8 kB / 0.534 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3173, allocations: 208.1 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3173, allocations: 7.719 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3174, allocations: 52.31 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3175, allocations: 88.06 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.3176, allocations: 107.2 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.318, allocations: 293 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.318, allocations: 1.125 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.318, allocations: 0 / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.318, allocations: 0 / 0.5348 GB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000776/0.3188, allocations: 0.6659 MB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3189, allocations: 13.5 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3189, allocations: 40.05 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.319, allocations: 43.66 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3193, allocations: 305.1 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3193, allocations: 2.625 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3193, allocations: 7.594 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3195, allocations: 61.92 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3195, allocations: 0 / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3195, allocations: 1.156 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3195, allocations: 1.125 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3197, allocations: 42.31 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.3202, allocations: 410.5 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3204, allocations: 52.7 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.3204, allocations: 21.48 kB / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3204, allocations: 0 / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3205, allocations: 35.97 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3205, allocations: 0 / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000991/0.3215, allocations: 333.6 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3215, allocations: 60.34 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3227, allocations: 0.8743 MB / 0.5376 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3227, allocations: 25.7 kB / 0.5377 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.323, allocations: 226.3 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.3231, allocations: 32.05 kB / 0.5379 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.3231, allocations: 19.22 kB / 0.5379 GB, free: 8.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002444/0.3234, allocations: 369.3 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3236, allocations: 37.12 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3237, allocations: 37.09 kB / 0.5383 GB, free: 7.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.324, allocations: 74.25 kB / 0.5384 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.324, allocations: 0 / 0.5384 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003801/0.3244, allocations: 149 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3244, allocations: 3.875 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3244, allocations: 0.8438 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3244, allocations: 5.125 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3246, allocations: 21.86 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3246, allocations: 3.938 kB / 0.5386 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.3247, allocations: 4.531 kB / 0.5386 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3247, allocations: 9.547 kB / 0.5386 GB, free: 7.535 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.0002895/0.325, allocations: 212.2 kB / 0.5388 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.3251, allocations: 42.81 kB / 0.5388 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3257, allocations: 183 kB / 0.539 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.3257, allocations: 5.094 kB / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3257, allocations: 0 / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3257, allocations: 4.984 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.3268, allocations: 0.5211 MB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3268, allocations: 32 / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3269, allocations: 25.58 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3269, allocations: 1.406 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3269, allocations: 1.438 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.327, allocations: 9.359 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.327, allocations: 0 / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.3274, allocations: 251.7 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3276, allocations: 123.9 kB / 0.5399 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3276, allocations: 0.9688 kB / 0.5399 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3278, allocations: 8.25 kB / 0.5399 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3279, allocations: 7.141 kB / 0.5399 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3279, allocations: 6.25 kB / 0.54 GB, free: 6.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.3289, allocations: 0.6601 MB / 0.5406 GB, free: 6.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3289, allocations: 1.406 kB / 0.5406 GB, free: 6.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.3294, allocations: 26.81 kB / 0.5406 GB, free: 6.102 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.003141/0.3326, allocations: 1.128 MB / 0.5417 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.3329, allocations: 76.14 kB / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.333, allocations: 0.9375 kB / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3331, allocations: 44.03 kB / 0.5418 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.3338, allocations: 38.64 kB / 0.5419 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.34, allocations: 3.39 MB / 0.5452 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.3407, allocations: 0.8376 MB / 0.546 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3409, allocations: 28.42 kB / 0.546 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3411, allocations: 115.4 kB / 0.5461 GB, free: 1.488 MB / 398.1 MB Notification: Performance of SimCode: time 3.256e-06/0.3411, allocations: 0 / 0.5461 GB, free: 1.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.3816, allocations: 6.476 MB / 0.5525 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.242, allocations: 4.922 kB / 0.5525 GB, free: 11.11 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1)