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.001322/0.001322, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001496/0.001496, allocations: 226.3 kB / 23.01 MB, free: 5.039 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.361/1.361, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.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.2135/0.2135, allocations: 44.24 MB / 330.3 MB, free: 9.598 MB / 270.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="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.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.002288/0.002288, allocations: 71.89 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1084, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001681/0.11, allocations: 0.5065 MB / 0.5166 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.1103, allocations: 99.66 kB / 0.5167 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1103, allocations: 0 / 0.5167 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.1104, allocations: 4 kB / 0.5167 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.19e-05/0.1104, allocations: 0 / 0.5167 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.1105, allocations: 19.91 kB / 0.5167 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.1106, allocations: 19.92 kB / 0.5168 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.1106, allocations: 0 / 0.5168 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.1107, allocations: 4 kB / 0.5168 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.1107, allocations: 3.984 kB / 0.5168 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1107, allocations: 7.938 kB / 0.5168 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.1108, allocations: 31.97 kB / 0.5168 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1108, allocations: 8 kB / 0.5168 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.1108, allocations: 7.984 kB / 0.5168 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.1109, allocations: 28.12 kB / 0.5169 GB, free: 6.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1109, allocations: 0 / 0.5169 GB, free: 6.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1109, allocations: 0 / 0.5169 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1109, allocations: 0 / 0.5169 GB, free: 6.617 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.0003683/0.1113, allocations: 258.3 kB / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1113, allocations: 8.031 kB / 0.5171 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1114, allocations: 38.73 kB / 0.5171 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.1114, allocations: 4.875 kB / 0.5172 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.1115, allocations: 106.5 kB / 0.5173 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1115, allocations: 8.375 kB / 0.5173 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.1115, allocations: 384 / 0.5173 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1116, allocations: 51.97 kB / 0.5173 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1116, allocations: 3.938 kB / 0.5173 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1117, allocations: 0 / 0.5173 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1117, allocations: 4 kB / 0.5173 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.1117, allocations: 15.94 kB / 0.5173 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.112, allocations: 300.2 kB / 0.5176 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.1121, allocations: 22.52 kB / 0.5176 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.1121, allocations: 16.86 kB / 0.5177 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1121, allocations: 4.078 kB / 0.5177 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1121, allocations: 42.48 kB / 0.5177 GB, free: 5.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1121, allocations: 0 / 0.5177 GB, free: 5.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.1123, allocations: 57.64 kB / 0.5178 GB, free: 5.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1124, allocations: 51.41 kB / 0.5178 GB, free: 5.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.1124, allocations: 93.86 kB / 0.5179 GB, free: 5.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1125, allocations: 29.64 kB / 0.5179 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1125, allocations: 84.14 kB / 0.518 GB, free: 5.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1125, allocations: 15.89 kB / 0.518 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1126, allocations: 21.84 kB / 0.518 GB, free: 5.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1127, allocations: 310.8 kB / 0.5183 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1127, allocations: 8 kB / 0.5183 GB, free: 4.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1127, allocations: 21.64 kB / 0.5184 GB, free: 4.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.1128, allocations: 29.72 kB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1128, allocations: 3.938 kB / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.608e-05/0.1129, allocations: 53.62 kB / 0.5184 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1129, allocations: 12.03 kB / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1129, allocations: 0 / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1129, allocations: 0 / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.113, allocations: 11.98 kB / 0.5185 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.113, allocations: 0 / 0.5185 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.113, allocations: 7.891 kB / 0.5185 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.113, allocations: 8 kB / 0.5185 GB, free: 4.73 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.328e-05/0.1131, allocations: 109.8 kB / 0.5186 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1131, allocations: 0 / 0.5186 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1133, allocations: 69.31 kB / 0.5187 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1133, allocations: 0 / 0.5187 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1133, allocations: 0 / 0.5187 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1133, allocations: 4 kB / 0.5187 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1134, allocations: 128.7 kB / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1134, allocations: 0 / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1135, allocations: 15.92 kB / 0.5188 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1135, allocations: 0 / 0.5188 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1135, allocations: 192 / 0.5188 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1135, allocations: 4 kB / 0.5188 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1135, allocations: 7.984 kB / 0.5188 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.1136, allocations: 163.4 kB / 0.519 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.1136, allocations: 0 / 0.519 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.1136, allocations: 0 / 0.519 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.1137, allocations: 0 / 0.519 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1137, allocations: 7.984 kB / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1137, allocations: 0 / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.203e-05/0.1138, allocations: 87.28 kB / 0.5191 GB, free: 4.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 0 / 0.5191 GB, free: 4.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.114, allocations: 4 kB / 0.5191 GB, free: 4.062 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.00044/0.1144, allocations: 0.685 MB / 0.5197 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.1145, allocations: 27.92 kB / 0.5198 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1145, allocations: 4.156 kB / 0.5198 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.1146, allocations: 12 kB / 0.5198 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1148, allocations: 7.938 kB / 0.5198 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.1152, allocations: 148.2 kB / 0.5199 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1155, allocations: 0.6767 MB / 0.5206 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.1155, allocations: 7.984 kB / 0.5206 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1155, allocations: 11.44 kB / 0.5206 GB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1155, allocations: 0 / 0.5206 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1437, allocations: 1.418 MB / 0.522 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.76, allocations: 1 kB / 0.522 GB, free: 0.9766 MB / 398.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.49793764995411]