Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 108.1 kB / 20.42 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 211.4 kB / 23.72 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 257.1 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2379/0.2379, allocations: 46.89 MB / 360.3 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] 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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.00229/0.00229, allocations: 79.86 kB / 0.4955 GB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3671, allocations: 65.99 MB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00181/0.3689, allocations: 0.511 MB / 0.5604 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.3692, allocations: 103.7 kB / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.3692, allocations: 0 / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.3693, allocations: 0 / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.362e-05/0.3693, allocations: 0 / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3695, allocations: 15.92 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.3696, allocations: 11.98 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.3696, allocations: 0 / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.3697, allocations: 11.94 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.3697, allocations: 7.984 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3697, allocations: 0 / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.3698, allocations: 35.97 kB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3698, allocations: 0 / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.3699, allocations: 7.922 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.37, allocations: 25.73 kB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.37, allocations: 4 kB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.37, allocations: 0 / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.37, allocations: 0 / 0.5607 GB, free: 4.191 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.0004828/0.3705, allocations: 331.4 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3705, allocations: 8.031 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3705, allocations: 42.75 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.3706, allocations: 0.9375 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3707, allocations: 168.3 kB / 0.5612 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3707, allocations: 4.375 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3707, allocations: 384 / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3709, allocations: 55.91 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3709, allocations: 3.938 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3709, allocations: 4 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3709, allocations: 4 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.3709, allocations: 11.94 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3713, allocations: 321.2 kB / 0.5616 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.3714, allocations: 26.52 kB / 0.5616 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.3714, allocations: 8.859 kB / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3714, allocations: 0 / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3714, allocations: 46.59 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3714, allocations: 0 / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000196/0.3716, allocations: 61.62 kB / 0.5617 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3717, allocations: 51.41 kB / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.3718, allocations: 97.86 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3718, allocations: 29.64 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.3718, allocations: 80.14 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3718, allocations: 19.97 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.3719, allocations: 21.7 kB / 0.562 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.372, allocations: 310.8 kB / 0.5623 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.372, allocations: 8 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.3721, allocations: 29.64 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.3721, allocations: 25.72 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3721, allocations: 7.938 kB / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.733e-05/0.3722, allocations: 61.84 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3722, allocations: 4 kB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3723, allocations: 4 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3723, allocations: 0 / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.3723, allocations: 4 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3723, allocations: 7.984 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.3724, allocations: 3.953 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3724, allocations: 0 / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.107e-05/0.3725, allocations: 117.8 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.3725, allocations: 0 / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.3726, allocations: 65.12 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3726, allocations: 0 / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3726, allocations: 0 / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3727, allocations: 0 / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3728, allocations: 165.6 kB / 0.5628 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3728, allocations: 0 / 0.5628 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3729, allocations: 7.984 kB / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3729, allocations: 4 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3729, allocations: 4 kB / 0.5628 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3729, allocations: 3.938 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3729, allocations: 0 / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.3731, allocations: 155.6 kB / 0.5629 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3731, allocations: 89.06 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3731, allocations: 4 kB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.3732, allocations: 0 / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3732, allocations: 4 kB / 0.563 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3732, allocations: 11.94 kB / 0.5631 GB, free: 1.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.3733, allocations: 79.27 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.3735, allocations: 8 kB / 0.5631 GB, free: 1.301 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.0004834/0.374, allocations: 0.6774 MB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3741, allocations: 31.92 kB / 0.5638 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3741, allocations: 0 / 0.5638 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.3741, allocations: 12 kB / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3743, allocations: 3.562 kB / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.3747, allocations: 146.5 kB / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.375, allocations: 0.6768 MB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.3751, allocations: 8.062 kB / 0.5646 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.3751, allocations: 19.42 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3751, allocations: 0 / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.3986, allocations: 1.285 MB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.28, allocations: 7.938 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.157113038934767] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.34796136431396 8.364535134 7.991219704 Calling exit ...