Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.00175/0.00175, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002175/0.002175, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.452/1.452, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.211/0.211, allocations: 44.27 MB / 330.4 MB, free: 9.293 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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.002253/0.002253, allocations: 67.91 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001653/0.1098, allocations: 0.5025 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1117, allocations: 1.345 MB / 0.5179 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.1117, allocations: 0 / 0.5179 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.1117, allocations: 3.938 kB / 0.5179 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.1118, allocations: 0 / 0.5179 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.1125, allocations: 220.3 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.552e-05/0.1125, allocations: 7.938 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.1125, allocations: 3.984 kB / 0.5182 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.1126, allocations: 7.938 kB / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.1126, allocations: 4 kB / 0.5182 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1126, allocations: 4 kB / 0.5182 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1131, allocations: 259.6 kB / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1131, allocations: 0 / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.1131, allocations: 0 / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1133, allocations: 155.5 kB / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1133, allocations: 0 / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1133, allocations: 0 / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1133, allocations: 0 / 0.5186 GB, free: 4.652 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003423/0.1137, allocations: 258.3 kB / 0.5188 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1137, allocations: 8.031 kB / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.1138, allocations: 38.69 kB / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.1138, allocations: 0.9375 kB / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.1139, allocations: 106.5 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1139, allocations: 384 / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1139, allocations: 384 / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.114, allocations: 63.52 kB / 0.519 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.114, allocations: 0 / 0.519 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.114, allocations: 0 / 0.519 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.114, allocations: 0 / 0.519 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.114, allocations: 4 kB / 0.519 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.1142, allocations: 124.8 kB / 0.5192 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.1142, allocations: 18.52 kB / 0.5192 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.1143, allocations: 12.94 kB / 0.5192 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1143, allocations: 4 kB / 0.5192 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1143, allocations: 34.5 kB / 0.5192 GB, free: 3.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1143, allocations: 0 / 0.5192 GB, free: 3.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.1144, allocations: 37.64 kB / 0.5193 GB, free: 3.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1145, allocations: 55.34 kB / 0.5193 GB, free: 3.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.1145, allocations: 93.86 kB / 0.5194 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1146, allocations: 33.95 kB / 0.5194 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.1146, allocations: 84.12 kB / 0.5195 GB, free: 3.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1146, allocations: 3.953 kB / 0.5195 GB, free: 3.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1146, allocations: 13.72 kB / 0.5195 GB, free: 3.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1148, allocations: 310.8 kB / 0.5198 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.1148, allocations: 4 kB / 0.5198 GB, free: 3.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.1148, allocations: 0 / 0.5198 GB, free: 3.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.1148, allocations: 16.8 kB / 0.5198 GB, free: 3.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1148, allocations: 0 / 0.5198 GB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.363e-05/0.1149, allocations: 41.72 kB / 0.5199 GB, free: 3.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1149, allocations: 11.94 kB / 0.5199 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1149, allocations: 0 / 0.5199 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1149, allocations: 0 / 0.5199 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.115, allocations: 4 kB / 0.5199 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.115, allocations: 0 / 0.5199 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.115, allocations: 0 / 0.5199 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.115, allocations: 3.984 kB / 0.5199 GB, free: 3.094 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 (1): * Single equations (assignments): 1 * 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.592e-05/0.1151, allocations: 105.8 kB / 0.52 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1151, allocations: 7.938 kB / 0.52 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1152, allocations: 52.84 kB / 0.5201 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1152, allocations: 0 / 0.5201 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1152, allocations: 0 / 0.5201 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1152, allocations: 0 / 0.5201 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1153, allocations: 124.7 kB / 0.5202 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1153, allocations: 0 / 0.5202 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-06/0.1153, allocations: 3.938 kB / 0.5202 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1153, allocations: 0 / 0.5202 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1153, allocations: 7.938 kB / 0.5202 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1153, allocations: 4.031 kB / 0.5202 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1153, allocations: 0 / 0.5202 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.943e-05/0.1154, allocations: 61.12 kB / 0.5203 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.1154, allocations: 7.891 kB / 0.5203 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1154, allocations: 4 kB / 0.5203 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.1155, allocations: 0 / 0.5203 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.1155, allocations: 0 / 0.5203 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1155, allocations: 8 kB / 0.5203 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.1156, allocations: 75.28 kB / 0.5204 GB, free: 2.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1156, allocations: 4.125 kB / 0.5204 GB, free: 2.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1158, allocations: 47.86 kB / 0.5204 GB, free: 2.512 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005347/0.1163, allocations: 0.6357 MB / 0.521 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.1164, allocations: 12 kB / 0.521 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1164, allocations: 0 / 0.521 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.1165, allocations: 29.64 kB / 0.5211 GB, free: 1.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1166, allocations: 7.984 kB / 0.5211 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.1169, allocations: 126.6 kB / 0.5212 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.117, allocations: 63.3 kB / 0.5212 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.385e-05/0.117, allocations: 0 / 0.5212 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.117, allocations: 11.44 kB / 0.5213 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.117, allocations: 0 / 0.5213 GB, free: 1.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.1437, allocations: 2.358 MB / 0.5236 GB, free: 15.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.24, allocations: 20.31 kB / 0.5236 GB, free: 15.15 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 14.068459345959127]