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.001748/0.001748, 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.002376/0.002376, allocations: 211.9 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.483/1.483, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.219/0.219, allocations: 44.24 MB / 331.1 MB, free: 9.527 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.002271/0.002271, allocations: 71.91 kB / 468.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1168, allocations: 61.04 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001761/0.1186, allocations: 0.5939 MB / 0.5176 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.1189, allocations: 123.5 kB / 0.5177 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.1189, allocations: 0 / 0.5177 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.119, allocations: 0 / 0.5177 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1192, allocations: 39.84 kB / 0.5177 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.1192, allocations: 0 / 0.5177 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.1192, allocations: 19.92 kB / 0.5177 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1193, allocations: 4 kB / 0.5177 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1193, allocations: 11.92 kB / 0.5177 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1194, allocations: 23.84 kB / 0.5178 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1194, allocations: 4 kB / 0.5178 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1195, allocations: 47.95 kB / 0.5178 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.1195, allocations: 3.938 kB / 0.5178 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1195, allocations: 7.938 kB / 0.5178 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1196, allocations: 47.81 kB / 0.5179 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1196, allocations: 0 / 0.5179 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.1196, allocations: 4 kB / 0.5179 GB, free: 6.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1196, allocations: 0 / 0.5179 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.0003181/0.12, allocations: 262.2 kB / 0.5181 GB, free: 6.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.12, allocations: 19.95 kB / 0.5182 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.12, allocations: 192 / 0.5182 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1201, allocations: 38.75 kB / 0.5182 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1201, allocations: 0.9375 kB / 0.5182 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.1202, allocations: 110.5 kB / 0.5183 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1202, allocations: 4.375 kB / 0.5183 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1202, allocations: 4.375 kB / 0.5183 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1204, allocations: 69.86 kB / 0.5184 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1204, allocations: 4 kB / 0.5184 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1204, allocations: 0 / 0.5184 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1204, allocations: 0 / 0.5184 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1205, allocations: 51.95 kB / 0.5184 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1207, allocations: 140.8 kB / 0.5186 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1208, allocations: 74.58 kB / 0.5186 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1209, allocations: 32.78 kB / 0.5187 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.1211, allocations: 23.98 kB / 0.5187 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1211, allocations: 34.5 kB / 0.5187 GB, free: 5.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1211, allocations: 0 / 0.5187 GB, free: 5.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002383/0.1214, allocations: 105.8 kB / 0.5188 GB, free: 5.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1214, allocations: 51.41 kB / 0.5189 GB, free: 5.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.1215, allocations: 93.86 kB / 0.519 GB, free: 5.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1215, allocations: 33.81 kB / 0.519 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1216, allocations: 92.08 kB / 0.5191 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1216, allocations: 27.75 kB / 0.5191 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.1216, allocations: 25.7 kB / 0.5191 GB, free: 4.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1218, allocations: 314.8 kB / 0.5194 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.1218, allocations: 15.98 kB / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.1219, allocations: 20 kB / 0.5195 GB, free: 4.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.1219, allocations: 61.28 kB / 0.5195 GB, free: 4.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1219, allocations: 0 / 0.5195 GB, free: 4.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001389/0.1221, allocations: 89.58 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1221, allocations: 11.94 kB / 0.5196 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1221, allocations: 0 / 0.5196 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1221, allocations: 0 / 0.5196 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1222, allocations: 15.98 kB / 0.5196 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1222, allocations: 0 / 0.5196 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.1223, allocations: 7.938 kB / 0.5196 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1223, allocations: 0 / 0.5196 GB, free: 4.352 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 8.878e-05/0.1224, allocations: 113.8 kB / 0.5197 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1224, allocations: 15.83 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.1226, allocations: 97.58 kB / 0.5199 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1226, allocations: 0 / 0.5199 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1226, allocations: 0 / 0.5199 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1226, allocations: 7.984 kB / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1227, allocations: 136.7 kB / 0.52 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1227, allocations: 0 / 0.52 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.1228, allocations: 19.98 kB / 0.52 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1228, allocations: 3.938 kB / 0.52 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1228, allocations: 4 kB / 0.52 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1228, allocations: 4 kB / 0.52 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1228, allocations: 7.922 kB / 0.52 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.123, allocations: 113.1 kB / 0.5201 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.123, allocations: 15.86 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.123, allocations: 4 kB / 0.5202 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.123, allocations: 0 / 0.5202 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.123, allocations: 7.984 kB / 0.5202 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.123, allocations: 8 kB / 0.5202 GB, free: 3.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.1231, allocations: 79.28 kB / 0.5202 GB, free: 3.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1231, allocations: 0 / 0.5202 GB, free: 3.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1233, allocations: 16 kB / 0.5203 GB, free: 3.629 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.0005182/0.1238, allocations: 0.6591 MB / 0.5209 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1239, allocations: 60 kB / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1239, allocations: 0 / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.124, allocations: 27.94 kB / 0.521 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1241, allocations: 4 kB / 0.521 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.1246, allocations: 174.5 kB / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1249, allocations: 0.6807 MB / 0.5218 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.1249, allocations: 8 kB / 0.5218 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.125, allocations: 12 kB / 0.5218 GB, free: 1.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.125, allocations: 0 / 0.5218 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.1456, allocations: 1.741 MB / 0.5235 GB, free: 180 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.05, allocations: 11.36 kB / 0.5236 GB, free: 172 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: 14.065737021970563]