Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.77 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001859/0.1299, allocations: 0.5191 MB / 469.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.1303, allocations: 161.9 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1303, allocations: 0 / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1303, allocations: 3.938 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1306, allocations: 39.83 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.1306, allocations: 0 / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.1306, allocations: 27.86 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1307, allocations: 4 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.1307, allocations: 7.984 kB / 470.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.1308, allocations: 15.86 kB / 470.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1308, allocations: 7.984 kB / 470.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1309, allocations: 47.95 kB / 470.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.1309, allocations: 3.938 kB / 470.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1309, allocations: 11.92 kB / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.131, allocations: 39.89 kB / 470.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.131, allocations: 0 / 470.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1311, allocations: 0 / 470.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1311, allocations: 4 kB / 470.2 MB, free: 13.4 MB / 350.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.0003582/0.1314, allocations: 343.8 kB / 470.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1315, allocations: 12.03 kB / 470.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1315, allocations: 30.75 kB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1316, allocations: 12.84 kB / 470.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1317, allocations: 172.3 kB / 470.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1317, allocations: 384 / 470.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1317, allocations: 8.312 kB / 470.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1319, allocations: 62.23 kB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1319, allocations: 3.938 kB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1319, allocations: 4 kB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1319, allocations: 0 / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.132, allocations: 55.89 kB / 470.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1322, allocations: 169.7 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1324, allocations: 78.55 kB / 471.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1325, allocations: 32.84 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.1328, allocations: 255.3 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1329, allocations: 38.78 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1329, allocations: 0 / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002485/0.1331, allocations: 109.5 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1332, allocations: 55.41 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.1332, allocations: 93.86 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1333, allocations: 29.83 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.1333, allocations: 80.14 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1333, allocations: 35.53 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1334, allocations: 25.72 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.1335, allocations: 310.8 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.1335, allocations: 15.98 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.1336, allocations: 28.3 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.296e-05/0.1336, allocations: 48.8 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1336, allocations: 4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001192/0.1338, allocations: 85.59 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1338, allocations: 7.938 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1338, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1338, allocations: 3.938 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.1339, allocations: 19.98 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1339, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.134, allocations: 3.938 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.134, allocations: 8 kB / 472.4 MB, free: 10.91 MB / 350.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 6.778e-05/0.134, allocations: 109.8 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.1341, allocations: 7.938 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.1342, allocations: 105.5 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1343, allocations: 4 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1343, allocations: 3.938 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1343, allocations: 0 / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1344, allocations: 169.7 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1344, allocations: 0 / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.1345, allocations: 19.92 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1345, allocations: 8.312 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1345, allocations: 4 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1345, allocations: 4 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1345, allocations: 0 / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1347, allocations: 113 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1347, allocations: 88.95 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1347, allocations: 7.938 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.1348, allocations: 0 / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.1348, allocations: 11.98 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1348, allocations: 4 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.1348, allocations: 75.28 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.1351, allocations: 16 kB / 473.2 MB, free: 10.07 MB / 350.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.000415/0.1355, allocations: 0.6515 MB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1356, allocations: 59.91 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1356, allocations: 0 / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.1357, allocations: 35.92 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1358, allocations: 10.66 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.1363, allocations: 179 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1365, allocations: 0.6846 MB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.1366, allocations: 4 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.1366, allocations: 19.36 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1366, allocations: 0 / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.1546, allocations: 1.525 MB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.51, allocations: 12.91 kB / 476.3 MB, free: 6.871 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches