Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001289/0.001289, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00144/0.00144, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.93 MB / 361.6 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 76.2 kB / 0.4969 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2911, allocations: 66.09 MB / 0.5615 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001562/0.2927, allocations: 0.5072 MB / 0.562 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000272/0.293, allocations: 95.77 kB / 0.5621 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.293, allocations: 0 / 0.5621 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.293, allocations: 3.938 kB / 0.5621 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.597e-05/0.293, allocations: 0 / 0.5621 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.2932, allocations: 23.84 kB / 0.5621 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.2932, allocations: 12 kB / 0.5621 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.2933, allocations: 4 kB / 0.5621 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.2933, allocations: 11.92 kB / 0.5621 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.2933, allocations: 4 kB / 0.5621 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2934, allocations: 0 / 0.5621 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.2934, allocations: 27.97 kB / 0.5622 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2934, allocations: 7.984 kB / 0.5622 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.2935, allocations: 11.92 kB / 0.5622 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.975e-05/0.2936, allocations: 25.73 kB / 0.5622 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2936, allocations: 0 / 0.5622 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2936, allocations: 0 / 0.5622 GB, free: 3.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2936, allocations: 4 kB / 0.5622 GB, free: 3.422 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.0003521/0.2939, allocations: 258.3 kB / 0.5625 GB, free: 3.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.294, allocations: 8.031 kB / 0.5625 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.133e-05/0.294, allocations: 192 / 0.5625 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.294, allocations: 34.75 kB / 0.5625 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.294, allocations: 0.9375 kB / 0.5625 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.913e-05/0.2941, allocations: 106.5 kB / 0.5626 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2941, allocations: 8.375 kB / 0.5626 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.2941, allocations: 4.312 kB / 0.5626 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.2942, allocations: 55.72 kB / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2943, allocations: 0 / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2943, allocations: 0 / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.2943, allocations: 0 / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.2943, allocations: 15.98 kB / 0.5627 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.2946, allocations: 304.1 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.2947, allocations: 22.61 kB / 0.563 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.2947, allocations: 16.86 kB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2947, allocations: 0 / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2947, allocations: 30.56 kB / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.2947, allocations: 0 / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001671/0.2949, allocations: 61.67 kB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2949, allocations: 55.41 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.295, allocations: 97.84 kB / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.295, allocations: 33.64 kB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.2951, allocations: 80.14 kB / 0.5633 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2951, allocations: 15.84 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2952, allocations: 17.72 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2953, allocations: 314.8 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.2953, allocations: 12.12 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.2954, allocations: 13.72 kB / 0.5637 GB, free: 1.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.2954, allocations: 45.52 kB / 0.5637 GB, free: 1.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2954, allocations: 0 / 0.5637 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.242e-05/0.2955, allocations: 49.69 kB / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2955, allocations: 10.03 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2955, allocations: 0 / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2955, allocations: 7.969 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.2956, allocations: 8 kB / 0.5638 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2956, allocations: 0 / 0.5638 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.2956, allocations: 7.953 kB / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2956, allocations: 4 kB / 0.5638 GB, free: 1.543 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 7.154e-05/0.2957, allocations: 109.8 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2957, allocations: 240 / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2959, allocations: 77.41 kB / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2959, allocations: 0 / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2959, allocations: 8 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2959, allocations: 0 / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.296, allocations: 132.7 kB / 0.5641 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.296, allocations: 0 / 0.5641 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.2961, allocations: 8 kB / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2961, allocations: 0 / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.2961, allocations: 0 / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2961, allocations: 0 / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2961, allocations: 0 / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2962, allocations: 159.5 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.2962, allocations: 7.891 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2962, allocations: 0 / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.2963, allocations: 3.984 kB / 0.5643 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.2963, allocations: 7.938 kB / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2963, allocations: 7.938 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.2964, allocations: 79.28 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2964, allocations: 0 / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.2966, allocations: 4.094 kB / 0.5644 GB, free: 0.8672 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.0004203/0.297, allocations: 0.6851 MB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.2971, allocations: 23.94 kB / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2971, allocations: 0 / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.2971, allocations: 16.17 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2973, allocations: 4.062 kB / 0.5651 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2977, allocations: 142.7 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.298, allocations: 0.6768 MB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2981, allocations: 11.94 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.2981, allocations: 11.44 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2981, allocations: 4 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3277, allocations: 1.443 MB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.52, allocations: 10.66 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.239504086028319] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 10.683453587989789 10.705854656 10.408063386 Calling exit ...