Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 117.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.00191/0.00191, allocations: 200.6 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.559/1.559, 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.2204/0.2204, allocations: 46.1 MB / 344.3 MB, free: 11.49 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.002294/0.002294, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3049, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003093/0.308, allocations: 1.614 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3091, allocations: 0.5549 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.3092, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.3098, allocations: 461.4 kB / 0.5332 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.3102, allocations: 287.2 kB / 0.5335 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3107, allocations: 173.2 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.311, allocations: 171.2 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.3111, allocations: 10.86 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3112, allocations: 106.5 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.3115, allocations: 213.6 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3115, allocations: 2.75 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.3116, allocations: 27.11 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3117, allocations: 83.56 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.3118, allocations: 99.5 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.3122, allocations: 262.4 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3122, allocations: 1.156 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3122, allocations: 0 / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3122, allocations: 4 kB / 0.5346 GB, free: 10.74 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.0008254/0.3131, allocations: 0.6503 MB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3131, allocations: 9.625 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.3132, allocations: 39.8 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.3132, allocations: 43.28 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.3136, allocations: 308.7 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3136, allocations: 1.469 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3136, allocations: 1.562 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3138, allocations: 57.67 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3138, allocations: 0 / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3138, allocations: 4 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3138, allocations: 1.25 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.3139, allocations: 30.19 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.3145, allocations: 389.8 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.3146, allocations: 36.62 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.3146, allocations: 11.58 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3147, allocations: 1.188 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3147, allocations: 35.62 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3147, allocations: 0 / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002915/0.315, allocations: 109 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3151, allocations: 59.52 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3161, allocations: 0.8784 MB / 0.5371 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3162, allocations: 25.7 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3164, allocations: 222.6 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3164, allocations: 8.766 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.3164, allocations: 19.98 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3166, allocations: 360.5 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.3167, allocations: 13.36 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.3167, allocations: 10.78 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.3168, allocations: 33.77 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3169, allocations: 0.9062 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.317, allocations: 91.72 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3171, allocations: 7.188 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3171, allocations: 1.125 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3171, allocations: 0 / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.3172, allocations: 20.61 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3172, allocations: 1.156 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.3172, allocations: 2.219 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3173, allocations: 1.219 kB / 0.5379 GB, free: 7.957 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 (2): * Single equations (assignments): 2 * 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.0001868/0.3174, allocations: 213.4 kB / 0.5381 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.3175, allocations: 45.83 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3177, allocations: 110.3 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3178, allocations: 4.031 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3178, allocations: 0 / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3178, allocations: 1.125 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3181, allocations: 293.2 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3181, allocations: 0 / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.3182, allocations: 4.281 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3182, allocations: 0.75 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3182, allocations: 1.188 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3182, allocations: 0 / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3182, allocations: 0 / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.3184, allocations: 198.1 kB / 0.5387 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.3185, allocations: 119.7 kB / 0.5389 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3185, allocations: 3.938 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.3186, allocations: 2.562 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.3186, allocations: 1.531 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3187, allocations: 3.938 kB / 0.5389 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006487/0.3193, allocations: 0.6606 MB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 4.031 kB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3196, allocations: 18.5 kB / 0.5395 GB, free: 6.801 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 (2): * Single equations (assignments): 2 * 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.001702/0.3213, allocations: 0.9615 MB / 0.5405 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3215, allocations: 26.67 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3215, allocations: 0.875 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.808e-05/0.3216, allocations: 15.58 kB / 0.5405 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.322, allocations: 39.53 kB / 0.5406 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.3258, allocations: 3.181 MB / 0.5437 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.3263, allocations: 0.8231 MB / 0.5445 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.317e-05/0.3264, allocations: 27.66 kB / 0.5445 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3266, allocations: 115.7 kB / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3266, allocations: 0 / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3564, allocations: 5.807 MB / 0.5503 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.117, allocations: 6.031 kB / 0.5503 GB, free: 13.35 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1)