Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001753/0.001753, allocations: 122.2 kB / 17.77 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001999/0.001999, allocations: 202 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.4 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.2304/0.2304, allocations: 46.11 MB / 344.3 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.002241/0.002241, allocations: 76.16 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3294, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002834/0.3322, allocations: 1.583 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.3332, allocations: 0.5464 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3333, allocations: 2.312 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3335, allocations: 28.14 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3338, allocations: 76.34 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3342, allocations: 115.8 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3344, allocations: 56.78 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3345, allocations: 22.84 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.3345, allocations: 28.05 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.3346, allocations: 18.75 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3346, allocations: 2.75 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.3347, allocations: 32.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.3348, allocations: 21.41 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.3348, allocations: 23.94 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.335, allocations: 84.19 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.335, allocations: 5.375 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.335, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3351, allocations: 0 / 0.5332 GB, free: 11.38 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.0005354/0.3356, allocations: 396.8 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3356, allocations: 9.625 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.3357, allocations: 36.12 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3357, allocations: 9.016 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.336, allocations: 193.8 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.336, allocations: 384 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.336, allocations: 3.125 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3362, allocations: 52.62 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3362, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.3362, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3362, allocations: 5.359 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3363, allocations: 29.34 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.3368, allocations: 288.7 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.337, allocations: 48.89 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.3371, allocations: 15.77 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3371, allocations: 1.094 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3372, allocations: 35.44 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3372, allocations: 0 / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005439/0.3377, allocations: 155.6 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3378, allocations: 52.5 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.338, allocations: 166.1 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.338, allocations: 25.7 kB / 0.5346 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.3381, allocations: 100.5 kB / 0.5347 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3381, allocations: 22.06 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3382, allocations: 22.11 kB / 0.5348 GB, free: 9.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3383, allocations: 321 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.3384, allocations: 24.34 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.3385, allocations: 20.23 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3386, allocations: 55.2 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3386, allocations: 0 / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.3388, allocations: 95.61 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3388, allocations: 5.625 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3388, allocations: 0 / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3389, allocations: 1.156 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.3389, allocations: 12.98 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3389, allocations: 5.094 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.339, allocations: 3.562 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.339, allocations: 5.062 kB / 0.5353 GB, free: 9.32 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 9.908e-05/0.3391, allocations: 119.5 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.3392, allocations: 16.48 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.3394, allocations: 100.7 kB / 0.5355 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3394, allocations: 1.312 kB / 0.5355 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3394, allocations: 3.938 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3394, allocations: 3.984 kB / 0.5355 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.3399, allocations: 348.9 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3399, allocations: 4 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.34, allocations: 9.688 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.34, allocations: 5.125 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.34, allocations: 7.984 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.34, allocations: 1.031 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.34, allocations: 3.938 kB / 0.5359 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3403, allocations: 183.3 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.3404, allocations: 87.81 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3404, allocations: 3.938 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.3405, allocations: 4.125 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.3405, allocations: 9.359 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3405, allocations: 1.375 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3406, allocations: 124.1 kB / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3406, allocations: 0 / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3409, allocations: 14.95 kB / 0.5363 GB, free: 8.367 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.001877/0.3428, allocations: 1.018 MB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.343, allocations: 54.2 kB / 0.5374 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.343, allocations: 4 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3431, allocations: 28.92 kB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3434, allocations: 19.78 kB / 0.5374 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3451, allocations: 1.483 MB / 0.5389 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3455, allocations: 0.6967 MB / 0.5395 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.3455, allocations: 24.73 kB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.3456, allocations: 27.8 kB / 0.5396 GB, free: 5.406 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3456, allocations: 0 / 0.5396 GB, free: 5.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.371, allocations: 2.634 MB / 0.5422 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.382, allocations: 14.16 kB / 0.5422 GB, free: 3.934 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1)