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.001815/0.001815, allocations: 100.4 kB / 20.48 MB, free: 1.367 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.00214/0.00214, allocations: 213.4 kB / 23.78 MB, free: 4.523 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.395/1.395, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2107/0.2107, allocations: 44.27 MB / 331.1 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.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.002309/0.002309, allocations: 67.91 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 61.05 MB / 0.5169 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001913/0.1157, allocations: 0.5025 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1176, allocations: 1.34 MB / 0.5187 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1177, allocations: 0 / 0.5187 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.1177, allocations: 3.938 kB / 0.5187 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.1177, allocations: 0 / 0.5187 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.1184, allocations: 220.3 kB / 0.5189 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.1185, allocations: 19.86 kB / 0.5189 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.1185, allocations: 0 / 0.5189 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1185, allocations: 4 kB / 0.5189 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1186, allocations: 0 / 0.5189 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1186, allocations: 0 / 0.5189 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.1191, allocations: 287.6 kB / 0.5192 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1191, allocations: 0 / 0.5192 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.1192, allocations: 7.922 kB / 0.5192 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1194, allocations: 147.6 kB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1194, allocations: 0 / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1194, allocations: 0 / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1195, allocations: 0 / 0.5194 GB, free: 4.645 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.0003836/0.1198, allocations: 262.2 kB / 0.5196 GB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1199, allocations: 8.031 kB / 0.5196 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.1199, allocations: 4.188 kB / 0.5196 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.1199, allocations: 34.75 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.12, allocations: 0.9375 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.12, allocations: 106.5 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1201, allocations: 4.375 kB / 0.5198 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.1201, allocations: 384 / 0.5198 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1202, allocations: 63.34 kB / 0.5198 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1202, allocations: 0 / 0.5198 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1202, allocations: 4 kB / 0.5198 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1202, allocations: 0 / 0.5198 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.1203, allocations: 15.92 kB / 0.5198 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1206, allocations: 208 kB / 0.52 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.1207, allocations: 22.58 kB / 0.5201 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1207, allocations: 4.859 kB / 0.5201 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1207, allocations: 3.984 kB / 0.5201 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1207, allocations: 38.55 kB / 0.5201 GB, free: 3.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1207, allocations: 3.938 kB / 0.5201 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.1209, allocations: 41.64 kB / 0.5201 GB, free: 3.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1209, allocations: 51.41 kB / 0.5202 GB, free: 3.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.121, allocations: 93.86 kB / 0.5203 GB, free: 3.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.121, allocations: 29.95 kB / 0.5203 GB, free: 3.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1211, allocations: 92.08 kB / 0.5204 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.1211, allocations: 11.89 kB / 0.5204 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1211, allocations: 9.719 kB / 0.5204 GB, free: 3.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1212, allocations: 322.8 kB / 0.5207 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.1213, allocations: 0 / 0.5207 GB, free: 3.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.1213, allocations: 22.56 kB / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.1213, allocations: 30.52 kB / 0.5208 GB, free: 2.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1213, allocations: 0 / 0.5208 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.867e-05/0.1214, allocations: 45.64 kB / 0.5208 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1214, allocations: 11.98 kB / 0.5208 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1214, allocations: 0 / 0.5208 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1214, allocations: 0 / 0.5208 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.1215, allocations: 8 kB / 0.5208 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1215, allocations: 4 kB / 0.5208 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.1215, allocations: 4 kB / 0.5209 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1215, allocations: 0 / 0.5209 GB, free: 2.898 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 8.409e-05/0.1216, allocations: 117.7 kB / 0.521 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.1216, allocations: 4.094 kB / 0.521 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1218, allocations: 44.84 kB / 0.521 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1218, allocations: 0 / 0.521 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1218, allocations: 0 / 0.521 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1218, allocations: 0 / 0.521 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1219, allocations: 124.7 kB / 0.5211 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1219, allocations: 0 / 0.5211 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-06/0.1219, allocations: 4 kB / 0.5211 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1219, allocations: 4.031 kB / 0.5211 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.1219, allocations: 0 / 0.5211 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1219, allocations: 0 / 0.5211 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1219, allocations: 0 / 0.5211 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.122, allocations: 147.4 kB / 0.5213 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.122, allocations: 4 kB / 0.5213 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.1221, allocations: 0 / 0.5213 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.1221, allocations: 3.938 kB / 0.5213 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.1221, allocations: 0 / 0.5213 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1221, allocations: 4 kB / 0.5213 GB, free: 2.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.1222, allocations: 79.31 kB / 0.5214 GB, free: 2.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1222, allocations: 0 / 0.5214 GB, free: 2.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1225, allocations: 51.86 kB / 0.5214 GB, free: 2.246 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.0005853/0.1231, allocations: 0.7006 MB / 0.5221 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.1232, allocations: 12 kB / 0.5221 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1232, allocations: 0 / 0.5221 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.1232, allocations: 29.7 kB / 0.5221 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1234, allocations: 384 / 0.5221 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.1238, allocations: 138.4 kB / 0.5223 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.1239, allocations: 63.28 kB / 0.5223 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.1239, allocations: 4 kB / 0.5223 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1239, allocations: 7.438 kB / 0.5223 GB, free: 1.199 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1239, allocations: 0 / 0.5223 GB, free: 1.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1451, allocations: 2.016 MB / 0.5243 GB, free: 15.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.61, allocations: 19.97 kB / 0.5243 GB, free: 15.16 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.501696784980595]