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.001631/0.001631, 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.001833/0.001833, allocations: 227.6 kB / 23.01 MB, free: 5.035 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.455/1.455, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2192/0.2192, allocations: 44.23 MB / 330.3 MB, free: 9.512 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.002118/0.002118, allocations: 67.91 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 61.05 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001648/0.1166, allocations: 0.5057 MB / 0.5166 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.1169, allocations: 103.7 kB / 0.5167 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1169, allocations: 0 / 0.5167 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.117, allocations: 3.938 kB / 0.5167 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.117, allocations: 0 / 0.5167 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.1172, allocations: 15.92 kB / 0.5167 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.1172, allocations: 11.92 kB / 0.5168 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1173, allocations: 8 kB / 0.5168 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.1173, allocations: 8 kB / 0.5168 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.1173, allocations: 3.984 kB / 0.5168 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1173, allocations: 0 / 0.5168 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1174, allocations: 35.97 kB / 0.5168 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1174, allocations: 7.922 kB / 0.5168 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.1175, allocations: 8 kB / 0.5168 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.1175, allocations: 28.12 kB / 0.5169 GB, free: 6.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1176, allocations: 0 / 0.5169 GB, free: 6.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1176, allocations: 0 / 0.5169 GB, free: 6.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1176, allocations: 0 / 0.5169 GB, free: 6.598 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.0003786/0.1179, allocations: 262.3 kB / 0.5171 GB, free: 6.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.118, allocations: 8.031 kB / 0.5171 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.118, allocations: 30.75 kB / 0.5171 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.118, allocations: 12.88 kB / 0.5172 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1182, allocations: 106.5 kB / 0.5173 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.1182, allocations: 4.375 kB / 0.5173 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1182, allocations: 4.375 kB / 0.5173 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1183, allocations: 59.91 kB / 0.5173 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1183, allocations: 3.938 kB / 0.5173 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1183, allocations: 0 / 0.5173 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1183, allocations: 0 / 0.5173 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.1184, allocations: 12 kB / 0.5173 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.1187, allocations: 296.2 kB / 0.5176 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.1187, allocations: 30.45 kB / 0.5176 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.1188, allocations: 12.86 kB / 0.5177 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1188, allocations: 4 kB / 0.5177 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1188, allocations: 30.56 kB / 0.5177 GB, free: 5.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1188, allocations: 0 / 0.5177 GB, free: 5.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.119, allocations: 61.67 kB / 0.5178 GB, free: 5.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1191, allocations: 55.39 kB / 0.5178 GB, free: 5.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.1191, allocations: 97.86 kB / 0.5179 GB, free: 5.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1191, allocations: 25.7 kB / 0.5179 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.1192, allocations: 84.12 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1192, allocations: 15.91 kB / 0.518 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1192, allocations: 21.7 kB / 0.518 GB, free: 5.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1194, allocations: 310.8 kB / 0.5183 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.1194, allocations: 4 kB / 0.5183 GB, free: 4.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.1194, allocations: 25.83 kB / 0.5184 GB, free: 4.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.1195, allocations: 33.66 kB / 0.5184 GB, free: 4.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1195, allocations: 3.938 kB / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.996e-05/0.1196, allocations: 49.69 kB / 0.5184 GB, free: 4.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1196, allocations: 4 kB / 0.5185 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1196, allocations: 4 kB / 0.5185 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1196, allocations: 0 / 0.5185 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.1197, allocations: 11.94 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1197, allocations: 0 / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.1197, allocations: 15.91 kB / 0.5185 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1197, allocations: 4 kB / 0.5185 GB, free: 4.711 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 8.391e-05/0.1198, allocations: 113.8 kB / 0.5186 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1198, allocations: 0 / 0.5186 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1199, allocations: 61.61 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1199, allocations: 4.172 kB / 0.5187 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.12, allocations: 4 kB / 0.5187 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.12, allocations: 0 / 0.5187 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1201, allocations: 140.6 kB / 0.5188 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1201, allocations: 3.938 kB / 0.5188 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.1201, allocations: 8 kB / 0.5188 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1202, allocations: 3.984 kB / 0.5188 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1202, allocations: 3.938 kB / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1202, allocations: 0 / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1202, allocations: 0 / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1203, allocations: 159.4 kB / 0.519 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.1203, allocations: 0 / 0.519 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.1203, allocations: 4 kB / 0.519 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.1204, allocations: 0 / 0.519 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1204, allocations: 4 kB / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1204, allocations: 0 / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.1204, allocations: 83.27 kB / 0.5191 GB, free: 4.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 3.938 kB / 0.5191 GB, free: 4.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1206, allocations: 8 kB / 0.5191 GB, free: 4.039 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.0004542/0.1211, allocations: 0.6813 MB / 0.5197 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1212, allocations: 27.92 kB / 0.5198 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1212, allocations: 0 / 0.5198 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.1212, allocations: 8 kB / 0.5198 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1215, allocations: 7.938 kB / 0.5198 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.1219, allocations: 148.3 kB / 0.5199 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1222, allocations: 0.6768 MB / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.1222, allocations: 0 / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1222, allocations: 15.42 kB / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1222, allocations: 0 / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.1506, allocations: 1.42 MB / 0.522 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.59, allocations: 5 kB / 0.522 GB, free: 0.9609 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.596002423997561]