Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 74.66 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1213, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002022/0.1234, allocations: 0.5261 MB / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004066/0.1238, allocations: 158.2 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1239, allocations: 0 / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1239, allocations: 3.938 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1242, allocations: 43.83 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.1242, allocations: 0 / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.1243, allocations: 23.86 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1243, allocations: 0 / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.1243, allocations: 15.92 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.1244, allocations: 15.92 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1244, allocations: 4 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1246, allocations: 47.95 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1246, allocations: 7.922 kB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.1246, allocations: 7.938 kB / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1247, allocations: 43.88 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1247, allocations: 0 / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1247, allocations: 0 / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1247, allocations: 0 / 481 MB, free: 4.285 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.0003483/0.1251, allocations: 343.7 kB / 481.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1251, allocations: 12.03 kB / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1252, allocations: 38.73 kB / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1252, allocations: 4.844 kB / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1254, allocations: 168.3 kB / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1254, allocations: 8.312 kB / 481.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1254, allocations: 4.375 kB / 481.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1255, allocations: 58.23 kB / 481.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1255, allocations: 3.938 kB / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1256, allocations: 0 / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1256, allocations: 4 kB / 481.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.1257, allocations: 55.95 kB / 481.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.1259, allocations: 169.6 kB / 481.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.126, allocations: 78.55 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.1261, allocations: 32.84 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.1264, allocations: 255.3 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1264, allocations: 34.56 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1264, allocations: 0 / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002259/0.1267, allocations: 109.7 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1267, allocations: 51.41 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.1268, allocations: 93.86 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1268, allocations: 37.62 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.1268, allocations: 80.27 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1269, allocations: 31.56 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1269, allocations: 21.7 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.127, allocations: 318.8 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.1271, allocations: 15.98 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.1271, allocations: 20.31 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.1272, allocations: 52.84 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1272, allocations: 4 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001225/0.1273, allocations: 89.53 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1274, allocations: 11.94 kB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1274, allocations: 0 / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1274, allocations: 0 / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1275, allocations: 19.92 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1275, allocations: 4 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.1275, allocations: 7.875 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1276, allocations: 4 kB / 483.2 MB, free: 1.797 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 7.275e-05/0.1276, allocations: 109.8 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.1276, allocations: 7.938 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.1278, allocations: 101.6 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1279, allocations: 0 / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1279, allocations: 4 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1279, allocations: 3.984 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.128, allocations: 169.6 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.128, allocations: 4 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.96e-05/0.1281, allocations: 15.98 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1281, allocations: 4.312 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1281, allocations: 0 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1281, allocations: 0 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1281, allocations: 8 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1283, allocations: 113 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1283, allocations: 92.94 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1283, allocations: 3.938 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.1284, allocations: 0 / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.1284, allocations: 11.98 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1284, allocations: 7.938 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.1284, allocations: 83.27 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1284, allocations: 0 / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1286, allocations: 16 kB / 484 MB, free: 0.9531 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.0004383/0.1291, allocations: 0.6436 MB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1292, allocations: 60.02 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1292, allocations: 4 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.1293, allocations: 35.92 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1294, allocations: 4 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.1299, allocations: 175 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1301, allocations: 0.6845 MB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.1302, allocations: 12 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.1302, allocations: 19.38 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1302, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.147, allocations: 1.521 MB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.577, allocations: 9.266 kB / 487.1 MB, free: 13.77 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches