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.001261/0.001261, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001421/0.001421, allocations: 213.6 kB / 23 MB, free: 5.004 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.382/1.382, allocations: 207.6 MB / 233.8 MB, free: 10.02 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.2168/0.2168, allocations: 44.24 MB / 330.3 MB, free: 9.617 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.00236/0.00236, allocations: 83.75 kB / 467.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1156, allocations: 61.04 MB / 0.5161 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001715/0.1173, allocations: 0.5065 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1192, allocations: 1.403 MB / 0.518 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.1193, allocations: 0 / 0.518 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1193, allocations: 0 / 0.518 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.1193, allocations: 3.938 kB / 0.518 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.12, allocations: 220.3 kB / 0.5182 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.12, allocations: 4 kB / 0.5182 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.1201, allocations: 3.938 kB / 0.5182 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1201, allocations: 12 kB / 0.5182 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.1201, allocations: 7.984 kB / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1202, allocations: 0 / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.1207, allocations: 271.6 kB / 0.5185 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1207, allocations: 3.938 kB / 0.5185 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.1207, allocations: 7.984 kB / 0.5185 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1209, allocations: 143.6 kB / 0.5186 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1209, allocations: 0 / 0.5186 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1209, allocations: 0 / 0.5186 GB, free: 4.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1209, allocations: 0 / 0.5186 GB, free: 4.781 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.0003487/0.1213, allocations: 262.3 kB / 0.5189 GB, free: 4.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1213, allocations: 8.031 kB / 0.5189 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1213, allocations: 38.75 kB / 0.5189 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.1214, allocations: 4.875 kB / 0.5189 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.1214, allocations: 102.5 kB / 0.519 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1215, allocations: 384 / 0.519 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.1215, allocations: 4.375 kB / 0.519 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1216, allocations: 49.73 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1216, allocations: 0 / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1216, allocations: 4 kB / 0.5191 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1216, allocations: 4 kB / 0.5191 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.1216, allocations: 4 kB / 0.5191 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.122, allocations: 216 kB / 0.5193 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.122, allocations: 18.52 kB / 0.5193 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.122, allocations: 4.859 kB / 0.5193 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.122, allocations: 8.062 kB / 0.5193 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1221, allocations: 30.56 kB / 0.5194 GB, free: 3.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1221, allocations: 0 / 0.5194 GB, free: 3.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1222, allocations: 41.62 kB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1222, allocations: 59.34 kB / 0.5195 GB, free: 3.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.1223, allocations: 89.86 kB / 0.5196 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1223, allocations: 25.7 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1224, allocations: 96.33 kB / 0.5197 GB, free: 3.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.1224, allocations: 11.89 kB / 0.5197 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1224, allocations: 17.7 kB / 0.5197 GB, free: 3.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1226, allocations: 314.8 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1226, allocations: 0 / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.1226, allocations: 22.58 kB / 0.52 GB, free: 3.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.1227, allocations: 30.52 kB / 0.52 GB, free: 3.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1227, allocations: 0 / 0.52 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.774e-05/0.1227, allocations: 49.62 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1227, allocations: 4 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1228, allocations: 4 kB / 0.5201 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1228, allocations: 0 / 0.5201 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1228, allocations: 7.984 kB / 0.5201 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1228, allocations: 4.094 kB / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.1228, allocations: 4 kB / 0.5201 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1228, allocations: 0 / 0.5201 GB, free: 3.062 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.193e-05/0.1229, allocations: 117.8 kB / 0.5202 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1229, allocations: 0 / 0.5202 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.123, allocations: 44.78 kB / 0.5203 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1231, allocations: 4.031 kB / 0.5203 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1231, allocations: 0 / 0.5203 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1231, allocations: 3.938 kB / 0.5203 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1232, allocations: 128.7 kB / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1232, allocations: 0 / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.1232, allocations: 3.984 kB / 0.5204 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1232, allocations: 0 / 0.5204 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1232, allocations: 4 kB / 0.5204 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1232, allocations: 0 / 0.5204 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1232, allocations: 0 / 0.5204 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1233, allocations: 143.4 kB / 0.5205 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.1234, allocations: 4 kB / 0.5206 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1234, allocations: 4.078 kB / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.1234, allocations: 0 / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.1234, allocations: 7.984 kB / 0.5206 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1234, allocations: 0 / 0.5206 GB, free: 2.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.1235, allocations: 75.28 kB / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1235, allocations: 4.125 kB / 0.5206 GB, free: 2.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1238, allocations: 39.94 kB / 0.5207 GB, free: 2.414 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.000587/0.1244, allocations: 0.7045 MB / 0.5214 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.1244, allocations: 11.94 kB / 0.5214 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1244, allocations: 4.219 kB / 0.5214 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.1245, allocations: 29.7 kB / 0.5214 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1247, allocations: 4 kB / 0.5214 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.125, allocations: 126.4 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1254, allocations: 0.6768 MB / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.1254, allocations: 0 / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.1254, allocations: 11.44 kB / 0.5222 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1254, allocations: 4.062 kB / 0.5222 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.1521, allocations: 1.958 MB / 0.5241 GB, free: 14.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/10.98, allocations: 7.422 kB / 0.5241 GB, free: 14.78 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.746194636216387]