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.001736/0.001736, allocations: 111.7 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.002133/0.002133, allocations: 213.8 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.415/1.415, allocations: 207.6 MB / 233.8 MB, free: 10 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.2179/0.2179, allocations: 44.25 MB / 330.3 MB, free: 9.52 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.002197/0.002197, allocations: 67.89 kB / 467.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 61.04 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001845/0.1253, allocations: 0.59 MB / 0.5168 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003835/0.1257, allocations: 115.5 kB / 0.5169 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.1257, allocations: 4 kB / 0.5169 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.1258, allocations: 3.938 kB / 0.5169 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.126, allocations: 47.81 kB / 0.5169 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.126, allocations: 0 / 0.5169 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1261, allocations: 19.92 kB / 0.517 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1261, allocations: 4 kB / 0.517 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1262, allocations: 3.938 kB / 0.517 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.1262, allocations: 19.91 kB / 0.517 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1262, allocations: 4 kB / 0.517 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1263, allocations: 51.94 kB / 0.517 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1264, allocations: 7.938 kB / 0.5171 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1264, allocations: 11.88 kB / 0.5171 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1265, allocations: 47.81 kB / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1265, allocations: 0 / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1265, allocations: 0 / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1265, allocations: 4 kB / 0.5171 GB, free: 6.348 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.0003143/0.1269, allocations: 258.2 kB / 0.5174 GB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1269, allocations: 15.97 kB / 0.5174 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1269, allocations: 38.73 kB / 0.5174 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.127, allocations: 4.938 kB / 0.5174 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1271, allocations: 114.5 kB / 0.5175 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1271, allocations: 8.375 kB / 0.5175 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1271, allocations: 384 / 0.5175 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1272, allocations: 62.17 kB / 0.5176 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1272, allocations: 3.938 kB / 0.5176 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1273, allocations: 4 kB / 0.5176 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1273, allocations: 4 kB / 0.5176 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1274, allocations: 47.95 kB / 0.5177 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1276, allocations: 142.5 kB / 0.5178 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1277, allocations: 78.58 kB / 0.5179 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1278, allocations: 28.84 kB / 0.5179 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.128, allocations: 19.98 kB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.128, allocations: 34.5 kB / 0.5179 GB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.128, allocations: 0 / 0.5179 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002226/0.1282, allocations: 109.7 kB / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1283, allocations: 59.41 kB / 0.5181 GB, free: 5.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.1283, allocations: 89.86 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1284, allocations: 25.7 kB / 0.5182 GB, free: 5.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.1284, allocations: 84.09 kB / 0.5183 GB, free: 4.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1285, allocations: 35.72 kB / 0.5183 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1285, allocations: 25.72 kB / 0.5184 GB, free: 4.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1286, allocations: 315.3 kB / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.1287, allocations: 23.94 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.1287, allocations: 23.92 kB / 0.5187 GB, free: 4.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.1288, allocations: 52.84 kB / 0.5187 GB, free: 4.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1288, allocations: 0 / 0.5187 GB, free: 4.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001248/0.1289, allocations: 85.58 kB / 0.5188 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1289, allocations: 7.938 kB / 0.5188 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1289, allocations: 0 / 0.5188 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1289, allocations: 4 kB / 0.5188 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.129, allocations: 12 kB / 0.5189 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.129, allocations: 0 / 0.5189 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1291, allocations: 15.91 kB / 0.5189 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1291, allocations: 8 kB / 0.5189 GB, free: 4.348 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 0.0001017/0.1292, allocations: 113.8 kB / 0.519 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.1292, allocations: 7.891 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.1294, allocations: 101.5 kB / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1294, allocations: 0 / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1294, allocations: 0 / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1294, allocations: 0 / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1296, allocations: 145.1 kB / 0.5192 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1296, allocations: 4 kB / 0.5192 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.1296, allocations: 12 kB / 0.5192 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1296, allocations: 7.938 kB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1296, allocations: 11.92 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1296, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1296, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1298, allocations: 109 kB / 0.5194 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.1298, allocations: 11.88 kB / 0.5194 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1298, allocations: 11.94 kB / 0.5194 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.1298, allocations: 3.984 kB / 0.5194 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.1299, allocations: 0 / 0.5194 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1299, allocations: 4 kB / 0.5194 GB, free: 3.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.1299, allocations: 79.27 kB / 0.5195 GB, free: 3.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 0 / 0.5195 GB, free: 3.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1301, allocations: 16 kB / 0.5195 GB, free: 3.641 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.000489/0.1306, allocations: 0.6709 MB / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1307, allocations: 51.92 kB / 0.5202 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1307, allocations: 0 / 0.5202 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.1308, allocations: 24.36 kB / 0.5202 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1309, allocations: 8 kB / 0.5202 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.1314, allocations: 178.6 kB / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1317, allocations: 0.6807 MB / 0.5211 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.1317, allocations: 7.984 kB / 0.5211 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1318, allocations: 15.44 kB / 0.5211 GB, free: 1.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1318, allocations: 0 / 0.5211 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1598, allocations: 1.701 MB / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.78, allocations: 8.047 kB / 0.5227 GB, free: 212 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.642321535153314]