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.00154/0.00154, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001818/0.001819, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2228/0.2228, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.88 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001573/0.343, allocations: 0.537 MB / 0.5189 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.3434, allocations: 155.8 kB / 0.5191 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3435, allocations: 1.469 kB / 0.5191 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.3435, allocations: 3.938 kB / 0.5191 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.3438, allocations: 37.72 kB / 0.5191 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.1e-06/0.3438, allocations: 0 / 0.5191 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.387e-05/0.3439, allocations: 25.84 kB / 0.5192 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.3439, allocations: 7.438 kB / 0.5192 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.344, allocations: 11.75 kB / 0.5192 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.344, allocations: 16.23 kB / 0.5192 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3441, allocations: 1.125 kB / 0.5192 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3442, allocations: 49.81 kB / 0.5192 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3442, allocations: 6.234 kB / 0.5192 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.3442, allocations: 10.25 kB / 0.5192 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3444, allocations: 45.28 kB / 0.5193 GB, free: 2.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3444, allocations: 0 / 0.5193 GB, free: 2.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3444, allocations: 0 / 0.5193 GB, free: 2.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3444, allocations: 1.734 kB / 0.5193 GB, free: 2.746 MB / 382.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.0002885/0.3447, allocations: 347.1 kB / 0.5196 GB, free: 2.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3448, allocations: 9.5 kB / 0.5196 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.3448, allocations: 33.11 kB / 0.5197 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.3448, allocations: 7.047 kB / 0.5197 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.3449, allocations: 170.6 kB / 0.5198 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3449, allocations: 10.72 kB / 0.5198 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.345, allocations: 2.812 kB / 0.5198 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3451, allocations: 56.64 kB / 0.5199 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3451, allocations: 3.938 kB / 0.5199 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3451, allocations: 4 kB / 0.5199 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3451, allocations: 1.312 kB / 0.5199 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3453, allocations: 54.42 kB / 0.52 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3454, allocations: 173.5 kB / 0.5201 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3455, allocations: 80.83 kB / 0.5202 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.3456, allocations: 31.08 kB / 0.5202 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.3459, allocations: 252.2 kB / 0.5205 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3459, allocations: 32.7 kB / 0.5205 GB, free: 1.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3459, allocations: 0 / 0.5205 GB, free: 1.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002315/0.3462, allocations: 108.7 kB / 0.5206 GB, free: 1.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3462, allocations: 65.23 kB / 0.5207 GB, free: 1.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.3462, allocations: 91.91 kB / 0.5208 GB, free: 1.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.3463, allocations: 27.11 kB / 0.5208 GB, free: 1.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.3463, allocations: 84.12 kB / 0.5209 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3463, allocations: 35.28 kB / 0.5209 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3463, allocations: 26.23 kB / 0.5209 GB, free: 1.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.3464, allocations: 312.7 kB / 0.5212 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.3464, allocations: 16.5 kB / 0.5212 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.3465, allocations: 25.52 kB / 0.5213 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.3466, allocations: 55.94 kB / 0.5213 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3466, allocations: 0 / 0.5213 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000113/0.3467, allocations: 84.36 kB / 0.5214 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3467, allocations: 10.16 kB / 0.5214 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3467, allocations: 0 / 0.5214 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3467, allocations: 0 / 0.5214 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.3468, allocations: 20.86 kB / 0.5214 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3469, allocations: 0 / 0.5214 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.3469, allocations: 9.391 kB / 0.5214 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3469, allocations: 10.19 kB / 0.5214 GB, free: 0.6406 MB / 382.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 5.107e-05/0.347, allocations: 109.6 kB / 0.5215 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.347, allocations: 5.844 kB / 0.5216 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3471, allocations: 100.3 kB / 0.5217 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3472, allocations: 1.469 kB / 0.5217 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3472, allocations: 2.297 kB / 0.5217 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3472, allocations: 0.7969 kB / 0.5217 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.3473, allocations: 173.6 kB / 0.5218 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3473, allocations: 4 kB / 0.5218 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.3473, allocations: 16.78 kB / 0.5218 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3474, allocations: 3.938 kB / 0.5218 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3474, allocations: 9.359 kB / 0.5219 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3474, allocations: 0.5625 kB / 0.5219 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3474, allocations: 5.156 kB / 0.5219 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3475, allocations: 106.6 kB / 0.522 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.3476, allocations: 83.75 kB / 0.522 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3476, allocations: 12.73 kB / 0.5221 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.3476, allocations: 0.9062 kB / 0.5221 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.3476, allocations: 9.719 kB / 0.5221 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3476, allocations: 2.25 kB / 0.5221 GB, free: 40 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.3477, allocations: 77.19 kB / 0.5221 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3477, allocations: 0 / 0.5221 GB, free: 15.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.3479, allocations: 16.73 kB / 0.5222 GB, free: 15.96 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.0005425/0.3484, allocations: 0.658 MB / 0.5228 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3486, allocations: 56.02 kB / 0.5229 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3486, allocations: 0 / 0.5229 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.3487, allocations: 34.73 kB / 0.5229 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3488, allocations: 6.219 kB / 0.5229 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.3493, allocations: 172.8 kB / 0.5231 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3497, allocations: 0.6929 MB / 0.5237 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.3497, allocations: 10.36 kB / 0.5237 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.3498, allocations: 16.17 kB / 0.5238 GB, free: 14.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3498, allocations: 3.938 kB / 0.5238 GB, free: 14.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3764, allocations: 1.551 MB / 0.5253 GB, free: 14.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.174, allocations: 6.688 kB / 0.5253 GB, free: 14.03 MB / 398.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