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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 112.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.509/1.509, allocations: 207.6 MB / 230.4 MB, free: 4.039 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.3376/0.3376, allocations: 44.23 MB / 326.5 MB, free: 6.785 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.299, allocations: 60.99 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001567/0.3006, allocations: 0.5204 MB / 0.5114 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002928/0.3009, allocations: 95.33 kB / 0.5115 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.3009, allocations: 0 / 0.5115 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.3009, allocations: 0 / 0.5115 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.285e-05/0.301, allocations: 5.125 kB / 0.5115 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3012, allocations: 12.67 kB / 0.5115 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.3012, allocations: 13.33 kB / 0.5115 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.3013, allocations: 5.062 kB / 0.5115 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.3013, allocations: 7.484 kB / 0.5115 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.3013, allocations: 9.984 kB / 0.5115 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3014, allocations: 4.969 kB / 0.5115 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-05/0.3014, allocations: 32.03 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.3015, allocations: 4 kB / 0.5116 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.3015, allocations: 9.234 kB / 0.5116 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3016, allocations: 24.94 kB / 0.5116 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3016, allocations: 0 / 0.5116 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3016, allocations: 1.5 kB / 0.5116 GB, free: 12.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3016, allocations: 4 kB / 0.5116 GB, free: 12.64 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.0003435/0.3019, allocations: 331 kB / 0.5119 GB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.302, allocations: 17.44 kB / 0.5119 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.302, allocations: 31.75 kB / 0.512 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.302, allocations: 5.969 kB / 0.512 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.3021, allocations: 161.3 kB / 0.5121 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3021, allocations: 2.656 kB / 0.5121 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3021, allocations: 5.562 kB / 0.5121 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3023, allocations: 63.78 kB / 0.5122 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3023, allocations: 3.938 kB / 0.5122 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3023, allocations: 3.938 kB / 0.5122 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3023, allocations: 1.156 kB / 0.5122 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.3023, allocations: 15.39 kB / 0.5122 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.3026, allocations: 315.7 kB / 0.5125 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.3026, allocations: 34.48 kB / 0.5126 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.3027, allocations: 19.19 kB / 0.5126 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3027, allocations: 1.062 kB / 0.5126 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.3027, allocations: 30.56 kB / 0.5126 GB, free: 11.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3027, allocations: 1.062 kB / 0.5126 GB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000175/0.3029, allocations: 57.73 kB / 0.5127 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.3029, allocations: 56.56 kB / 0.5127 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.3029, allocations: 96.08 kB / 0.5128 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.303, allocations: 25.7 kB / 0.5128 GB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.303, allocations: 85.16 kB / 0.5129 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.303, allocations: 14.16 kB / 0.5129 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.303, allocations: 17.34 kB / 0.5129 GB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.3031, allocations: 312 kB / 0.5132 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.3031, allocations: 7.609 kB / 0.5133 GB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.3031, allocations: 23.97 kB / 0.5133 GB, free: 10.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.3032, allocations: 23.94 kB / 0.5133 GB, free: 10.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3032, allocations: 3.938 kB / 0.5133 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.833e-05/0.3032, allocations: 58.31 kB / 0.5134 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3032, allocations: 5.688 kB / 0.5134 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3033, allocations: 1.016 kB / 0.5134 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3033, allocations: 9.125 kB / 0.5134 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.3033, allocations: 6.906 kB / 0.5134 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3033, allocations: 4 kB / 0.5134 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.3034, allocations: 5.109 kB / 0.5134 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3034, allocations: 2.188 kB / 0.5134 GB, free: 10.71 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 5.213e-05/0.3034, allocations: 127.9 kB / 0.5135 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3034, allocations: 1.062 kB / 0.5135 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3036, allocations: 63.92 kB / 0.5136 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3036, allocations: 1.25 kB / 0.5136 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3036, allocations: 0 / 0.5136 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3036, allocations: 4 kB / 0.5136 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3037, allocations: 163.4 kB / 0.5137 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3037, allocations: 0 / 0.5137 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.3037, allocations: 6.781 kB / 0.5137 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3037, allocations: 1.062 kB / 0.5137 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3037, allocations: 5.125 kB / 0.5137 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3037, allocations: 7.922 kB / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3037, allocations: 0 / 0.5138 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.3038, allocations: 162.9 kB / 0.5139 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.3038, allocations: 77.11 kB / 0.514 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3038, allocations: 4 kB / 0.514 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.3039, allocations: 2.844 kB / 0.514 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3039, allocations: 3.984 kB / 0.514 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3039, allocations: 3.812 kB / 0.514 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.88e-05/0.304, allocations: 75.28 kB / 0.5141 GB, free: 9.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.304, allocations: 0 / 0.5141 GB, free: 9.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.3042, allocations: 10.06 kB / 0.5141 GB, free: 9.965 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.0002578/0.3044, allocations: 0.6879 MB / 0.5147 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.3045, allocations: 24.86 kB / 0.5148 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3045, allocations: 0 / 0.5148 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.3046, allocations: 12.81 kB / 0.5148 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3048, allocations: 6.75 kB / 0.5148 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3051, allocations: 146 kB / 0.5149 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3052, allocations: 0.677 MB / 0.5156 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.3052, allocations: 3.031 kB / 0.5156 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.3053, allocations: 9.625 kB / 0.5156 GB, free: 8.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3053, allocations: 0 / 0.5156 GB, free: 8.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3287, allocations: 1.297 MB / 0.5169 GB, free: 7.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.176, allocations: 16.22 kB / 0.5169 GB, free: 7.559 MB / 382.1 MB " [Timeout remaining time 652] (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] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.043603433296084]