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.001631/0.001631, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00198/0.00198, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.511/1.511, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2334/0.2334, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.003659/0.003659, allocations: 72.59 kB / 0.4912 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1443, allocations: 65.98 MB / 0.5556 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001852/0.1462, allocations: 0.5064 MB / 0.5561 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.1465, allocations: 95.7 kB / 0.5562 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1465, allocations: 0 / 0.5562 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1465, allocations: 3.938 kB / 0.5562 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.1466, allocations: 0 / 0.5562 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1468, allocations: 15.92 kB / 0.5562 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.1469, allocations: 15.98 kB / 0.5563 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1469, allocations: 0 / 0.5563 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.1469, allocations: 11.94 kB / 0.5563 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.147, allocations: 7.984 kB / 0.5563 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.147, allocations: 4 kB / 0.5563 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.1471, allocations: 23.97 kB / 0.5563 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1471, allocations: 8 kB / 0.5563 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.1471, allocations: 7.922 kB / 0.5563 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1472, allocations: 28.12 kB / 0.5563 GB, free: 8.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1473, allocations: 0 / 0.5563 GB, free: 8.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1473, allocations: 0 / 0.5563 GB, free: 8.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1473, allocations: 4 kB / 0.5563 GB, free: 8.434 MB / 414.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.0004638/0.1477, allocations: 331.9 kB / 0.5567 GB, free: 8.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1478, allocations: 8.031 kB / 0.5567 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.1478, allocations: 34.75 kB / 0.5567 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.1478, allocations: 0.9375 kB / 0.5567 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.148, allocations: 172.2 kB / 0.5569 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.148, allocations: 384 / 0.5569 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.148, allocations: 8.375 kB / 0.5569 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1482, allocations: 55.97 kB / 0.5569 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1482, allocations: 3.938 kB / 0.5569 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1482, allocations: 0 / 0.5569 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1482, allocations: 0 / 0.5569 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1482, allocations: 15.94 kB / 0.5569 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1486, allocations: 321.2 kB / 0.5573 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.1487, allocations: 26.52 kB / 0.5573 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.1487, allocations: 20.84 kB / 0.5573 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1487, allocations: 0 / 0.5573 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1488, allocations: 38.64 kB / 0.5573 GB, free: 7.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1488, allocations: 0 / 0.5573 GB, free: 7.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.149, allocations: 61.58 kB / 0.5574 GB, free: 7.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.149, allocations: 51.41 kB / 0.5574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.1491, allocations: 97.86 kB / 0.5575 GB, free: 7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1491, allocations: 25.7 kB / 0.5576 GB, free: 6.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.1492, allocations: 80.14 kB / 0.5576 GB, free: 6.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1492, allocations: 11.91 kB / 0.5576 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1492, allocations: 25.64 kB / 0.5577 GB, free: 6.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1494, allocations: 314.8 kB / 0.558 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.1494, allocations: 4 kB / 0.558 GB, free: 6.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.1494, allocations: 25.64 kB / 0.558 GB, free: 6.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.1495, allocations: 37.78 kB / 0.558 GB, free: 6.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1495, allocations: 3.938 kB / 0.558 GB, free: 6.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.936e-05/0.1496, allocations: 53.62 kB / 0.5581 GB, free: 6.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1496, allocations: 4 kB / 0.5581 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1496, allocations: 0 / 0.5581 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1496, allocations: 4 kB / 0.5581 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.1497, allocations: 4 kB / 0.5581 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1497, allocations: 7.984 kB / 0.5581 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.1497, allocations: 7.984 kB / 0.5581 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1498, allocations: 0 / 0.5581 GB, free: 6.359 MB / 414.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.772e-05/0.1498, allocations: 121.7 kB / 0.5582 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1499, allocations: 0 / 0.5582 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.15, allocations: 69.25 kB / 0.5583 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.15, allocations: 0 / 0.5583 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.15, allocations: 0 / 0.5583 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.15, allocations: 0 / 0.5583 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1502, allocations: 165.6 kB / 0.5585 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1502, allocations: 4 kB / 0.5585 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.1502, allocations: 7.984 kB / 0.5585 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1502, allocations: 0 / 0.5585 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1502, allocations: 4 kB / 0.5585 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1502, allocations: 0 / 0.5585 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1502, allocations: 0 / 0.5585 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.1504, allocations: 155.4 kB / 0.5586 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1504, allocations: 85.06 kB / 0.5587 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1505, allocations: 4 kB / 0.5587 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.1505, allocations: 0 / 0.5587 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.1505, allocations: 0 / 0.5587 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1505, allocations: 4 kB / 0.5587 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.1506, allocations: 79.27 kB / 0.5588 GB, free: 5.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1506, allocations: 0 / 0.5588 GB, free: 5.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1508, allocations: 15.94 kB / 0.5588 GB, free: 5.559 MB / 414.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.0004953/0.1513, allocations: 0.6813 MB / 0.5595 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1514, allocations: 27.92 kB / 0.5595 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1514, allocations: 0 / 0.5595 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.1515, allocations: 8 kB / 0.5595 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1517, allocations: 7 kB / 0.5595 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.1521, allocations: 142.9 kB / 0.5596 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1524, allocations: 0.6885 MB / 0.5603 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.1525, allocations: 4 kB / 0.5603 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.1525, allocations: 15.42 kB / 0.5603 GB, free: 3.895 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1525, allocations: 0 / 0.5603 GB, free: 3.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.1777, allocations: 1.316 MB / 0.5616 GB, free: 2.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.179, allocations: 0 / 0.5616 GB, free: 2.707 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.141917451284826] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.248194410931319 8.269816123 8.118141598 Calling exit ...