Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 201.2 kB / 18.74 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.417/1.417, allocations: 227.4 MB / 247 MB, free: 10.39 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.2341/0.2341, allocations: 46.12 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.002251/0.002251, allocations: 83.81 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003055/0.3293, allocations: 1.622 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3303, allocations: 0.5434 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.3304, allocations: 1.094 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3307, allocations: 77.64 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.331, allocations: 98.34 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3313, allocations: 122.6 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3314, allocations: 81.97 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.3315, allocations: 12.94 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3316, allocations: 39.98 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3317, allocations: 54.91 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3317, allocations: 7.875 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.3318, allocations: 45.23 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.3319, allocations: 20.17 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.3319, allocations: 33.23 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3321, allocations: 109.7 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3321, allocations: 3.984 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3322, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3322, allocations: 0 / 0.5334 GB, free: 11.29 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.000498/0.3327, allocations: 415.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3327, allocations: 9.625 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3328, allocations: 40.12 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3328, allocations: 18.28 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.333, allocations: 205.2 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.333, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.333, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3332, allocations: 59.36 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3332, allocations: 5.312 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3332, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3332, allocations: 5.312 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.624e-05/0.3333, allocations: 35.08 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3338, allocations: 300.4 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3339, allocations: 48.36 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.334, allocations: 21.19 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.334, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.334, allocations: 35.94 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.334, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008882/0.3349, allocations: 237.9 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.335, allocations: 56.78 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3352, allocations: 218.9 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3352, allocations: 25.7 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3353, allocations: 106.5 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.3353, allocations: 35.08 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3354, allocations: 19.91 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3355, allocations: 327.3 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.3356, allocations: 31.62 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.3357, allocations: 29.58 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3359, allocations: 76.62 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3359, allocations: 1.219 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.3361, allocations: 108.4 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3362, allocations: 5.781 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3362, allocations: 0 / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3362, allocations: 5.188 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.3363, allocations: 17.67 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3363, allocations: 3.938 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.3364, allocations: 7.203 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3364, allocations: 2.094 kB / 0.5358 GB, free: 9.074 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.0001037/0.3365, allocations: 133.3 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.3365, allocations: 13.38 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.3368, allocations: 142 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3368, allocations: 1.188 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3369, allocations: 5.312 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3369, allocations: 3.984 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3374, allocations: 419.1 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3374, allocations: 5.125 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.3375, allocations: 26.09 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3375, allocations: 0 / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3375, allocations: 5.297 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3376, allocations: 1.125 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3376, allocations: 1.219 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3378, allocations: 208.2 kB / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3379, allocations: 97.55 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.338, allocations: 0 / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.338, allocations: 12.45 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.3381, allocations: 6.844 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3381, allocations: 6.484 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3382, allocations: 163.8 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3382, allocations: 0 / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3385, allocations: 21.88 kB / 0.537 GB, free: 7.996 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.002116/0.3406, allocations: 1.098 MB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3409, allocations: 75.11 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3409, allocations: 0 / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.341, allocations: 44.16 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3414, allocations: 11.88 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3435, allocations: 1.72 MB / 0.5399 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3438, allocations: 0.7084 MB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.298e-05/0.3439, allocations: 20.62 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.344, allocations: 37.42 kB / 0.5407 GB, free: 4.863 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.344, allocations: 0 / 0.5407 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3685, allocations: 3.181 MB / 0.5438 GB, free: 3.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.506, allocations: 10.22 kB / 0.5438 GB, free: 3.137 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1)