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.001532/0.001532, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001636/0.001636, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2144/0.2144, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.002179/0.002179, allocations: 75.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2879, allocations: 66.09 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001678/0.2895, allocations: 0.4954 MB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.2899, allocations: 95.67 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.2899, allocations: 4 kB / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2899, allocations: 0 / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.834e-05/0.2899, allocations: 0 / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.2901, allocations: 15.92 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.2902, allocations: 15.98 kB / 0.562 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.2902, allocations: 0 / 0.562 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.2902, allocations: 4 kB / 0.562 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.2903, allocations: 11.92 kB / 0.562 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2903, allocations: 4 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.2904, allocations: 23.97 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2904, allocations: 12 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2904, allocations: 3.938 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.2905, allocations: 25.78 kB / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2905, allocations: 0 / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2905, allocations: 0 / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2905, allocations: 0 / 0.5621 GB, free: 3.355 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.0003784/0.2909, allocations: 258.3 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2909, allocations: 12.03 kB / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.235e-05/0.2909, allocations: 192 / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.291, allocations: 34.75 kB / 0.5624 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.291, allocations: 8.922 kB / 0.5624 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2911, allocations: 118.4 kB / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2911, allocations: 4.375 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2912, allocations: 4.375 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2913, allocations: 55.72 kB / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2913, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.2913, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2913, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.2914, allocations: 19.88 kB / 0.5626 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.2917, allocations: 296.1 kB / 0.5629 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.2918, allocations: 22.61 kB / 0.5629 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.2918, allocations: 16.86 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2918, allocations: 4 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2919, allocations: 34.5 kB / 0.563 GB, free: 2.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2919, allocations: 0 / 0.563 GB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.2921, allocations: 57.73 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2921, allocations: 51.41 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.2922, allocations: 97.84 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2922, allocations: 25.7 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.2923, allocations: 88.14 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.2923, allocations: 15.97 kB / 0.5633 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2923, allocations: 17.72 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2925, allocations: 314.8 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.2925, allocations: 8 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.2925, allocations: 21.66 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.2926, allocations: 37.64 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2926, allocations: 0 / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.325e-05/0.2927, allocations: 53.62 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2927, allocations: 4 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2927, allocations: 4.031 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.2927, allocations: 4 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.2928, allocations: 4 kB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2928, allocations: 0 / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.2928, allocations: 11.95 kB / 0.5637 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2928, allocations: 0 / 0.5637 GB, free: 1.469 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 9.474e-05/0.2929, allocations: 117.8 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2929, allocations: 3.938 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.2931, allocations: 65.5 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2931, allocations: 4 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2931, allocations: 4 kB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2931, allocations: 0 / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2932, allocations: 136.9 kB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2932, allocations: 0 / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.2933, allocations: 4 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2933, allocations: 4 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2933, allocations: 3.984 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2933, allocations: 0 / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2933, allocations: 0 / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.2934, allocations: 159.4 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.2935, allocations: 7.891 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2935, allocations: 7.938 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.2935, allocations: 0 / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2935, allocations: 7.984 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2935, allocations: 0 / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.2936, allocations: 83.28 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2936, allocations: 0 / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.2938, allocations: 4 kB / 0.5643 GB, free: 0.7852 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.0004612/0.2943, allocations: 0.6812 MB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.2944, allocations: 23.92 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2944, allocations: 4.156 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.2944, allocations: 12 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2946, allocations: 7.984 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.295, allocations: 142.8 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.295, allocations: 63.34 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.2951, allocations: 256 / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.2951, allocations: 19.44 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2951, allocations: 0 / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.3162, allocations: 1.473 MB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.98, allocations: 13.89 kB / 0.5667 GB, free: 14.39 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.705310404067859] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 11.13391621899791 11.152935058 10.858299816 Calling exit ...