Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 122.1 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 204.6 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 207.6 MB / 231.2 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3336/0.3336, allocations: 44.24 MB / 327.3 MB, free: 7.148 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.91 kB / 462.9 MB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2874, allocations: 61 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001765/0.2892, allocations: 0.5168 MB / 0.5121 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.2895, allocations: 87.69 kB / 0.5122 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.2895, allocations: 0 / 0.5122 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.2895, allocations: 0 / 0.5122 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.788e-05/0.2895, allocations: 5 kB / 0.5122 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2897, allocations: 20.33 kB / 0.5122 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.204e-05/0.2898, allocations: 13.73 kB / 0.5122 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.2898, allocations: 5.078 kB / 0.5122 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.2898, allocations: 3.219 kB / 0.5123 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2899, allocations: 14.36 kB / 0.5123 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2899, allocations: 1.219 kB / 0.5123 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.29, allocations: 26.69 kB / 0.5123 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.29, allocations: 5.156 kB / 0.5123 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.29, allocations: 8.984 kB / 0.5123 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2901, allocations: 32.78 kB / 0.5123 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2901, allocations: 1.156 kB / 0.5123 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2901, allocations: 0 / 0.5123 GB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2901, allocations: 0 / 0.5123 GB, free: 12.67 MB / 382.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.0003301/0.2904, allocations: 332.4 kB / 0.5127 GB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2905, allocations: 12.8 kB / 0.5127 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.2905, allocations: 1.156 kB / 0.5127 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.835e-05/0.2905, allocations: 39.77 kB / 0.5127 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.2905, allocations: 6.25 kB / 0.5127 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.2906, allocations: 161.7 kB / 0.5129 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2906, allocations: 6.219 kB / 0.5129 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.2906, allocations: 5.469 kB / 0.5129 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2907, allocations: 55.62 kB / 0.5129 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2907, allocations: 0 / 0.5129 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.2908, allocations: 0 / 0.5129 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2908, allocations: 1.156 kB / 0.5129 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.2908, allocations: 18.67 kB / 0.5129 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.291, allocations: 327.5 kB / 0.5133 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.2911, allocations: 19.08 kB / 0.5133 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.2911, allocations: 19.19 kB / 0.5133 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2911, allocations: 3.938 kB / 0.5133 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2912, allocations: 35.72 kB / 0.5133 GB, free: 11.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.2912, allocations: 1.156 kB / 0.5133 GB, free: 11.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001781/0.2913, allocations: 57.11 kB / 0.5134 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2914, allocations: 52.22 kB / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.2914, allocations: 93.3 kB / 0.5135 GB, free: 11.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.2914, allocations: 25.7 kB / 0.5136 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.2914, allocations: 85.14 kB / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.2915, allocations: 14.05 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.2915, allocations: 21.03 kB / 0.5137 GB, free: 11.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.2915, allocations: 311.9 kB / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.2916, allocations: 15.61 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.2916, allocations: 20.53 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.2916, allocations: 31.5 kB / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2916, allocations: 0 / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.747e-05/0.2917, allocations: 62.98 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2917, allocations: 5.406 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2917, allocations: 0 / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2917, allocations: 1.312 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.2918, allocations: 11.11 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2918, allocations: 3.984 kB / 0.5141 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.2918, allocations: 9.141 kB / 0.5141 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2919, allocations: 10.41 kB / 0.5141 GB, free: 10.73 MB / 382.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 4.832e-05/0.2919, allocations: 111 kB / 0.5142 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.2919, allocations: 5.188 kB / 0.5142 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.292, allocations: 65.41 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.292, allocations: 7.922 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2921, allocations: 0 / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2921, allocations: 1.219 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2922, allocations: 162.2 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2922, allocations: 1.156 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.2922, allocations: 5.719 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2922, allocations: 1.188 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2922, allocations: 1.094 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2922, allocations: 4 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2922, allocations: 0 / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.2923, allocations: 165.8 kB / 0.5146 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.2923, allocations: 78.27 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2924, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.2924, allocations: 1.094 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2924, allocations: 6.266 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2924, allocations: 1.969 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.2925, allocations: 80.75 kB / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2925, allocations: 0 / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2927, allocations: 8.344 kB / 0.5148 GB, free: 9.988 MB / 382.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.0002532/0.2929, allocations: 0.6873 MB / 0.5155 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.293, allocations: 26.61 kB / 0.5155 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.293, allocations: 3.219 kB / 0.5155 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.2931, allocations: 13.53 kB / 0.5155 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2933, allocations: 3.594 kB / 0.5155 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.2936, allocations: 148.4 kB / 0.5157 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.2937, allocations: 0.6747 MB / 0.5163 GB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.2937, allocations: 10.23 kB / 0.5163 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.2938, allocations: 9.875 kB / 0.5163 GB, free: 8.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2938, allocations: 0 / 0.5163 GB, free: 8.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3118, allocations: 1.342 MB / 0.5177 GB, free: 7.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.538, allocations: 7.75 kB / 0.5177 GB, free: 7.551 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.349898722954094] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.664617481001187 8.68207292 8.388183166 Calling exit ...