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.001926/0.001926, allocations: 97.91 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.002562/0.002562, allocations: 214.8 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.576/1.576, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2465/0.2465, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.002524/0.002524, allocations: 75.88 kB / 468.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1277, allocations: 61.04 MB / 0.517 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002201/0.1299, allocations: 0.5869 MB / 0.5176 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.1304, allocations: 99.64 kB / 0.5177 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.1304, allocations: 3.938 kB / 0.5177 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.1304, allocations: 3.938 kB / 0.5177 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1307, allocations: 35.83 kB / 0.5177 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.02e-06/0.1307, allocations: 0 / 0.5177 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.1308, allocations: 23.92 kB / 0.5177 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.1308, allocations: 3.984 kB / 0.5177 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.1309, allocations: 7.938 kB / 0.5177 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.131, allocations: 27.84 kB / 0.5178 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.131, allocations: 0 / 0.5178 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1311, allocations: 47.95 kB / 0.5178 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1311, allocations: 7.984 kB / 0.5178 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1311, allocations: 11.94 kB / 0.5178 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1313, allocations: 43.81 kB / 0.5179 GB, free: 6.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1313, allocations: 0 / 0.5179 GB, free: 6.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1313, allocations: 0 / 0.5179 GB, free: 6.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1313, allocations: 0 / 0.5179 GB, free: 6.203 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.0004134/0.1317, allocations: 262.2 kB / 0.5181 GB, free: 5.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1318, allocations: 12.03 kB / 0.5181 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.905e-05/0.1318, allocations: 12.12 kB / 0.5181 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.1318, allocations: 38.69 kB / 0.5182 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1319, allocations: 0.9375 kB / 0.5182 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.132, allocations: 114.5 kB / 0.5183 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.132, allocations: 4.375 kB / 0.5183 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.132, allocations: 4.375 kB / 0.5183 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1322, allocations: 57.94 kB / 0.5183 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1322, allocations: 4 kB / 0.5183 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1322, allocations: 4 kB / 0.5184 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1322, allocations: 3.938 kB / 0.5184 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1323, allocations: 51.95 kB / 0.5184 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.1325, allocations: 140.8 kB / 0.5185 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1327, allocations: 70.55 kB / 0.5186 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1328, allocations: 25.14 kB / 0.5186 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.1331, allocations: 27.91 kB / 0.5187 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1331, allocations: 38.5 kB / 0.5187 GB, free: 5.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.1331, allocations: 0 / 0.5187 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002869/0.1334, allocations: 105.6 kB / 0.5188 GB, free: 5.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1334, allocations: 55.41 kB / 0.5188 GB, free: 5.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.1335, allocations: 93.86 kB / 0.5189 GB, free: 4.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1336, allocations: 25.7 kB / 0.519 GB, free: 4.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1336, allocations: 84.09 kB / 0.519 GB, free: 4.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.1337, allocations: 35.72 kB / 0.5191 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1337, allocations: 25.72 kB / 0.5191 GB, free: 4.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1339, allocations: 314.8 kB / 0.5194 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.134, allocations: 16 kB / 0.5194 GB, free: 4.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.134, allocations: 19.98 kB / 0.5194 GB, free: 4.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1341, allocations: 57.3 kB / 0.5195 GB, free: 4.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1341, allocations: 4.125 kB / 0.5195 GB, free: 4.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.1343, allocations: 89.56 kB / 0.5196 GB, free: 4.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.1343, allocations: 7.938 kB / 0.5196 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1343, allocations: 0 / 0.5196 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.1344, allocations: 4 kB / 0.5196 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1345, allocations: 12 kB / 0.5196 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1345, allocations: 0 / 0.5196 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.1346, allocations: 7.875 kB / 0.5196 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1346, allocations: 8 kB / 0.5196 GB, free: 4.207 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.0001706/0.1348, allocations: 113.8 kB / 0.5197 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1348, allocations: 15.89 kB / 0.5197 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.1351, allocations: 101.5 kB / 0.5198 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1351, allocations: 0 / 0.5198 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1351, allocations: 0 / 0.5198 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1351, allocations: 3.984 kB / 0.5198 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1353, allocations: 136.8 kB / 0.52 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1353, allocations: 0 / 0.52 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.1354, allocations: 19.92 kB / 0.52 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.1354, allocations: 7.938 kB / 0.52 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1355, allocations: 4 kB / 0.52 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1355, allocations: 4 kB / 0.52 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1355, allocations: 0 / 0.52 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1357, allocations: 113.1 kB / 0.5201 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.1357, allocations: 15.86 kB / 0.5201 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1357, allocations: 4 kB / 0.5201 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.1358, allocations: 0 / 0.5201 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1358, allocations: 7.984 kB / 0.5201 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1358, allocations: 0 / 0.5201 GB, free: 3.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.1359, allocations: 83.28 kB / 0.5202 GB, free: 3.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 0.5202 GB, free: 3.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1361, allocations: 12 kB / 0.5202 GB, free: 3.496 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.0007707/0.1369, allocations: 0.667 MB / 0.5209 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1371, allocations: 51.92 kB / 0.5209 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1371, allocations: 0 / 0.5209 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.1372, allocations: 27.92 kB / 0.521 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1374, allocations: 8 kB / 0.521 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.1382, allocations: 174.5 kB / 0.5211 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.085e-05/0.1383, allocations: 71.28 kB / 0.5212 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.1383, allocations: 8.562 kB / 0.5212 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1384, allocations: 15.44 kB / 0.5212 GB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1384, allocations: 0 / 0.5212 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1621, allocations: 1.75 MB / 0.5229 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.49, allocations: 8 kB / 0.5229 GB, free: 0.6328 MB / 398.1 MB " [Timeout remaining time 648] (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.725807329989038]