Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001398/0.001398, allocations: 109 kB / 20.48 MB, free: 1.492 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.001485/0.001485, allocations: 217.6 kB / 23.79 MB, free: 4.707 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.465/1.465, allocations: 207.6 MB / 234.6 MB, free: 9.988 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.2292/0.2292, allocations: 44.24 MB / 331.1 MB, free: 9.523 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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",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.002453/0.002453, allocations: 71.84 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1197, allocations: 61.04 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001786/0.1215, allocations: 0.5017 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1235, allocations: 1.402 MB / 0.5188 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1235, allocations: 0 / 0.5188 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1236, allocations: 0 / 0.5188 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.373e-05/0.1236, allocations: 0 / 0.5188 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.1243, allocations: 232.2 kB / 0.519 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.1244, allocations: 11.98 kB / 0.519 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.1244, allocations: 0 / 0.519 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.1244, allocations: 4 kB / 0.519 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.1245, allocations: 3.984 kB / 0.519 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.1245, allocations: 4 kB / 0.519 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.125, allocations: 271.6 kB / 0.5193 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.125, allocations: 3.938 kB / 0.5193 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.1251, allocations: 7.984 kB / 0.5193 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1253, allocations: 147.6 kB / 0.5194 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1253, allocations: 7.938 kB / 0.5194 GB, free: 4.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1253, allocations: 0 / 0.5194 GB, free: 4.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1253, allocations: 0 / 0.5194 GB, free: 4.746 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003829/0.1257, allocations: 258.3 kB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1258, allocations: 8.031 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.1258, allocations: 4.188 kB / 0.5197 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1258, allocations: 30.75 kB / 0.5197 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1258, allocations: 4.938 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.1259, allocations: 106.5 kB / 0.5198 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1259, allocations: 8.375 kB / 0.5198 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1259, allocations: 8.312 kB / 0.5198 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.126, allocations: 33.64 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1261, allocations: 0 / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1261, allocations: 0 / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1261, allocations: 4 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.1261, allocations: 15.92 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1265, allocations: 208 kB / 0.5201 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.1265, allocations: 18.58 kB / 0.5201 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.1266, allocations: 16.95 kB / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.1266, allocations: 0 / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1266, allocations: 30.56 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1266, allocations: 0 / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.1268, allocations: 37.64 kB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1268, allocations: 55.53 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.1269, allocations: 97.84 kB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1269, allocations: 29.7 kB / 0.5204 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.127, allocations: 84.09 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.127, allocations: 11.83 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.127, allocations: 17.72 kB / 0.5205 GB, free: 3.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1272, allocations: 314.8 kB / 0.5208 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1272, allocations: 128 / 0.5208 GB, free: 3.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.1272, allocations: 26.56 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.1272, allocations: 30.52 kB / 0.5208 GB, free: 3.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1272, allocations: 0 / 0.5208 GB, free: 3.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.489e-05/0.1273, allocations: 49.62 kB / 0.5209 GB, free: 3.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1273, allocations: 8.094 kB / 0.5209 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1274, allocations: 4 kB / 0.5209 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1274, allocations: 0 / 0.5209 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.1274, allocations: 4 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1274, allocations: 0 / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.1274, allocations: 4 kB / 0.5209 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1274, allocations: 0 / 0.5209 GB, free: 3.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 9.22e-05/0.1275, allocations: 117.7 kB / 0.521 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1276, allocations: 3.984 kB / 0.521 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1277, allocations: 48.94 kB / 0.521 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1277, allocations: 0 / 0.521 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1277, allocations: 3.938 kB / 0.521 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1277, allocations: 0 / 0.521 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1278, allocations: 124.7 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1278, allocations: 0 / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1278, allocations: 0 / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1278, allocations: 0 / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1279, allocations: 12.03 kB / 0.5212 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1279, allocations: 0 / 0.5212 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1279, allocations: 0 / 0.5212 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.128, allocations: 147.4 kB / 0.5213 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.128, allocations: 0 / 0.5213 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.128, allocations: 0 / 0.5213 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.128, allocations: 4 kB / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1281, allocations: 4.031 kB / 0.5213 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1281, allocations: 0 / 0.5213 GB, free: 2.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.1281, allocations: 87.27 kB / 0.5214 GB, free: 2.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1281, allocations: 0 / 0.5214 GB, free: 2.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1284, allocations: 35.94 kB / 0.5214 GB, free: 2.387 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.0006046/0.129, allocations: 0.7085 MB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.1291, allocations: 8 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1291, allocations: 0 / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.1291, allocations: 37.62 kB / 0.5222 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1294, allocations: 4 kB / 0.5222 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.1298, allocations: 130.4 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1301, allocations: 0.6731 MB / 0.523 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.1301, allocations: 4 kB / 0.523 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.1302, allocations: 11.44 kB / 0.523 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1302, allocations: 0 / 0.523 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.1516, allocations: 1.986 MB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.34, allocations: 5.078 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.347561314993072]