Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, 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.001399/0.001399, allocations: 197.2 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.432/1.432, allocations: 227.4 MB / 247 MB, free: 10.44 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.2492/0.2492, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002235/0.002235, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003224/0.345, allocations: 1.622 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3462, allocations: 0.5339 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3462, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.3466, allocations: 127.2 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.3469, allocations: 127.9 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.3472, allocations: 94.47 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3474, allocations: 104.5 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.3475, allocations: 12.75 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3476, allocations: 47.34 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3477, allocations: 88.72 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3477, allocations: 2.75 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.3478, allocations: 36.86 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.3479, allocations: 32.23 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.348, allocations: 37.17 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3482, allocations: 127.1 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3482, allocations: 1.375 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3482, allocations: 0 / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3482, allocations: 0 / 0.5335 GB, free: 11.23 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.0005287/0.3487, allocations: 448.8 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3488, allocations: 9.625 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.3488, allocations: 36.11 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3489, allocations: 19.66 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3491, allocations: 213.6 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.3491, allocations: 1.75 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3492, allocations: 7.125 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3494, allocations: 57.92 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3494, allocations: 4 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3494, allocations: 5.375 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3494, allocations: 0 / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.3495, allocations: 23.11 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3499, allocations: 300.4 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.35, allocations: 45.61 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.3501, allocations: 25.19 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.3501, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3502, allocations: 30.56 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3502, allocations: 0 / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.3512, allocations: 241.3 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3513, allocations: 51.41 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3516, allocations: 280 kB / 0.5353 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3516, allocations: 25.7 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3518, allocations: 116 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.3518, allocations: 27.23 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3519, allocations: 23.16 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3521, allocations: 331.4 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.3521, allocations: 30.7 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.3522, allocations: 21.7 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3524, allocations: 59.89 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3524, allocations: 0 / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.3527, allocations: 105.8 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3527, allocations: 16.92 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3527, allocations: 0 / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3527, allocations: 1.219 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3528, allocations: 25.7 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3528, allocations: 5.344 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.3529, allocations: 3.375 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3529, allocations: 2.375 kB / 0.536 GB, free: 8.969 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.0001221/0.353, allocations: 132.8 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3531, allocations: 18.41 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.3534, allocations: 122.9 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3534, allocations: 1.156 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3534, allocations: 3.938 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3534, allocations: 0 / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.354, allocations: 427.8 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3541, allocations: 5.344 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.3541, allocations: 21.61 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3542, allocations: 1.25 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3542, allocations: 1.125 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3542, allocations: 1.125 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3542, allocations: 1 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3545, allocations: 213.5 kB / 0.5369 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.3546, allocations: 91.77 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3546, allocations: 1.281 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.3547, allocations: 8.266 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3548, allocations: 3.656 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3548, allocations: 1.375 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.355, allocations: 213.2 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.355, allocations: 0 / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3553, allocations: 23.34 kB / 0.5373 GB, free: 7.898 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.002241/0.3576, allocations: 1.092 MB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3579, allocations: 70.83 kB / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3579, allocations: 0 / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.358, allocations: 38.27 kB / 0.5384 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3584, allocations: 30.3 kB / 0.5385 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.361, allocations: 1.795 MB / 0.5402 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3615, allocations: 0.7205 MB / 0.5409 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.3616, allocations: 12.3 kB / 0.5409 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.3617, allocations: 41.22 kB / 0.541 GB, free: 4.727 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3617, allocations: 1.406 kB / 0.541 GB, free: 4.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.3887, allocations: 3.393 MB / 0.5443 GB, free: 2.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.501, allocations: 22.22 kB / 0.5443 GB, free: 2.887 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1)