Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001714/0.001714, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002207/0.002207, allocations: 209.9 kB / 22.99 MB, free: 4.602 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.409/1.409, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.221/0.221, allocations: 44.25 MB / 330.3 MB, free: 9.32 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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.002263/0.002263, allocations: 67.91 kB / 467.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1081, allocations: 61.06 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001584/0.1097, allocations: 0.5831 MB / 0.5168 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003386/0.1101, allocations: 95.66 kB / 0.5169 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.1101, allocations: 0 / 0.5169 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1101, allocations: 3.938 kB / 0.5169 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1104, allocations: 43.81 kB / 0.5169 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1104, allocations: 0 / 0.5169 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.1104, allocations: 23.86 kB / 0.517 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1105, allocations: 4 kB / 0.517 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.1105, allocations: 7.938 kB / 0.517 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.1105, allocations: 23.84 kB / 0.517 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1105, allocations: 4 kB / 0.517 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1107, allocations: 47.94 kB / 0.517 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.1107, allocations: 0 / 0.517 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1107, allocations: 11.94 kB / 0.517 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1108, allocations: 43.81 kB / 0.5171 GB, free: 6.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1108, allocations: 0 / 0.5171 GB, free: 6.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1108, allocations: 0 / 0.5171 GB, free: 6.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1108, allocations: 3.938 kB / 0.5171 GB, free: 6.215 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003062/0.1111, allocations: 270.2 kB / 0.5174 GB, free: 5.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1112, allocations: 12.03 kB / 0.5174 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1112, allocations: 34.73 kB / 0.5174 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1112, allocations: 8.875 kB / 0.5174 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1113, allocations: 106.5 kB / 0.5175 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1113, allocations: 8.375 kB / 0.5175 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1113, allocations: 384 / 0.5175 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1115, allocations: 58.23 kB / 0.5176 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1115, allocations: 3.938 kB / 0.5176 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1115, allocations: 4 kB / 0.5176 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1115, allocations: 4 kB / 0.5176 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.1116, allocations: 55.89 kB / 0.5176 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1118, allocations: 134.5 kB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1119, allocations: 74.48 kB / 0.5178 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.112, allocations: 29.12 kB / 0.5179 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.1122, allocations: 23.92 kB / 0.5179 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1122, allocations: 34.56 kB / 0.5179 GB, free: 5.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1122, allocations: 0 / 0.5179 GB, free: 5.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002259/0.1124, allocations: 109.5 kB / 0.518 GB, free: 5.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1125, allocations: 55.41 kB / 0.5181 GB, free: 5.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.1125, allocations: 93.86 kB / 0.5182 GB, free: 4.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1126, allocations: 29.69 kB / 0.5182 GB, free: 4.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.1126, allocations: 84.09 kB / 0.5183 GB, free: 4.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1126, allocations: 28.12 kB / 0.5183 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1127, allocations: 29.7 kB / 0.5183 GB, free: 4.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1128, allocations: 310.8 kB / 0.5186 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.1129, allocations: 19.98 kB / 0.5186 GB, free: 4.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.1129, allocations: 19.94 kB / 0.5187 GB, free: 4.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.113, allocations: 56.78 kB / 0.5187 GB, free: 4.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.113, allocations: 4.125 kB / 0.5187 GB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001329/0.1131, allocations: 85.58 kB / 0.5188 GB, free: 4.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1131, allocations: 11.94 kB / 0.5188 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1131, allocations: 0 / 0.5188 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1132, allocations: 0 / 0.5188 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1132, allocations: 15.98 kB / 0.5188 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1133, allocations: 0 / 0.5188 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.1133, allocations: 7.938 kB / 0.5188 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1133, allocations: 4 kB / 0.5188 GB, free: 4.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.83e-05/0.1134, allocations: 109.8 kB / 0.5189 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1134, allocations: 11.89 kB / 0.519 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.1136, allocations: 105.5 kB / 0.5191 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1136, allocations: 0 / 0.5191 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1136, allocations: 384 / 0.5191 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1136, allocations: 3.984 kB / 0.5191 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1137, allocations: 136.8 kB / 0.5192 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1137, allocations: 0 / 0.5192 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.1138, allocations: 27.86 kB / 0.5192 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1138, allocations: 3.938 kB / 0.5192 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.1138, allocations: 4 kB / 0.5192 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1138, allocations: 7.938 kB / 0.5192 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1138, allocations: 0 / 0.5192 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.114, allocations: 113 kB / 0.5193 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.114, allocations: 11.92 kB / 0.5194 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.114, allocations: 7.938 kB / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.114, allocations: 0 / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1141, allocations: 7.984 kB / 0.5194 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1141, allocations: 4 kB / 0.5194 GB, free: 3.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.1141, allocations: 75.28 kB / 0.5194 GB, free: 3.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1141, allocations: 0 / 0.5194 GB, free: 3.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1143, allocations: 16.09 kB / 0.5195 GB, free: 3.516 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 (10): * Single equations (assignments): 10 * 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.0004985/0.1148, allocations: 0.663 MB / 0.5201 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1149, allocations: 55.91 kB / 0.5202 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1149, allocations: 0 / 0.5202 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.249e-05/0.115, allocations: 28.3 kB / 0.5202 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1151, allocations: 8.188 kB / 0.5202 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.1156, allocations: 174.4 kB / 0.5204 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.1156, allocations: 63.34 kB / 0.5204 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.1157, allocations: 12 kB / 0.5204 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1157, allocations: 15.42 kB / 0.5204 GB, free: 2.414 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1157, allocations: 4 kB / 0.5205 GB, free: 2.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.1424, allocations: 2.059 MB / 0.5225 GB, free: 356 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11, allocations: 15.73 kB / 0.5225 GB, free: 340 kB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.799774690065533]