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: 114.4 kB / 17.78 MB, free: 5.258 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.00154/0.00154, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2052/0.2052, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 60.84 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001562/0.3241, allocations: 0.5333 MB / 0.5189 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.3245, allocations: 154.4 kB / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3245, allocations: 0 / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3245, allocations: 4.969 kB / 0.5191 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.3248, allocations: 42.39 kB / 0.5191 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.3248, allocations: 0 / 0.5191 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.3249, allocations: 25.31 kB / 0.5192 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.3249, allocations: 7.203 kB / 0.5192 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.325, allocations: 8.516 kB / 0.5192 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.325, allocations: 20.53 kB / 0.5192 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.325, allocations: 1.25 kB / 0.5192 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3252, allocations: 48.47 kB / 0.5192 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3252, allocations: 6.266 kB / 0.5192 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.3252, allocations: 15.64 kB / 0.5193 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3253, allocations: 40.7 kB / 0.5193 GB, free: 2.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3253, allocations: 0 / 0.5193 GB, free: 2.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3253, allocations: 0.6562 kB / 0.5193 GB, free: 2.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3254, allocations: 1.188 kB / 0.5193 GB, free: 2.766 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.0002766/0.3256, allocations: 339 kB / 0.5196 GB, free: 2.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3257, allocations: 15.45 kB / 0.5196 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.3257, allocations: 36.11 kB / 0.5197 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.3258, allocations: 8.219 kB / 0.5197 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.779e-05/0.3258, allocations: 162.1 kB / 0.5198 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3259, allocations: 1.531 kB / 0.5198 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3259, allocations: 8.812 kB / 0.5198 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.326, allocations: 58.5 kB / 0.5199 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.326, allocations: 3.938 kB / 0.5199 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.326, allocations: 1.938 kB / 0.5199 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3261, allocations: 1.062 kB / 0.5199 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.3262, allocations: 57.36 kB / 0.52 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.3263, allocations: 170.3 kB / 0.5201 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3264, allocations: 81.38 kB / 0.5202 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3265, allocations: 34.34 kB / 0.5202 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.3268, allocations: 255.5 kB / 0.5205 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3268, allocations: 40.39 kB / 0.5205 GB, free: 1.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3268, allocations: 0 / 0.5205 GB, free: 1.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002167/0.327, allocations: 109.1 kB / 0.5206 GB, free: 1.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.327, allocations: 53.7 kB / 0.5207 GB, free: 1.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/0.3271, allocations: 91.61 kB / 0.5208 GB, free: 1.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3271, allocations: 30.98 kB / 0.5208 GB, free: 1.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/0.3271, allocations: 80.89 kB / 0.5209 GB, free: 1.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.3272, allocations: 34.12 kB / 0.5209 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3272, allocations: 25.83 kB / 0.5209 GB, free: 1.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.3273, allocations: 318.7 kB / 0.5212 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.3273, allocations: 19.8 kB / 0.5212 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.3273, allocations: 17.98 kB / 0.5213 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.41e-05/0.3274, allocations: 50.72 kB / 0.5213 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3274, allocations: 0.75 kB / 0.5213 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001165/0.3276, allocations: 80.88 kB / 0.5214 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3276, allocations: 8.375 kB / 0.5214 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3276, allocations: 5.281 kB / 0.5214 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3276, allocations: 4.688 kB / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3277, allocations: 18.89 kB / 0.5214 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3277, allocations: 2.078 kB / 0.5214 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.3278, allocations: 9.141 kB / 0.5214 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3278, allocations: 1.281 kB / 0.5214 GB, free: 0.6719 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.795e-05/0.3278, allocations: 117.1 kB / 0.5215 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3279, allocations: 7.125 kB / 0.5216 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.328, allocations: 108.4 kB / 0.5217 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3281, allocations: 2.094 kB / 0.5217 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3281, allocations: 0 / 0.5217 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3281, allocations: 0.6562 kB / 0.5217 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.3282, allocations: 179 kB / 0.5218 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3282, allocations: 0 / 0.5218 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.3283, allocations: 15.22 kB / 0.5218 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3283, allocations: 5.125 kB / 0.5218 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3283, allocations: 1.719 kB / 0.5218 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3283, allocations: 0 / 0.5218 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3283, allocations: 1.125 kB / 0.5219 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3284, allocations: 113.7 kB / 0.522 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3285, allocations: 84.25 kB / 0.522 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3285, allocations: 6.141 kB / 0.522 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.3285, allocations: 4 kB / 0.522 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.3285, allocations: 10.11 kB / 0.5221 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3286, allocations: 2.953 kB / 0.5221 GB, free: 64 kB / 382.1 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.3286, allocations: 80.38 kB / 0.5221 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3286, allocations: 0 / 0.5221 GB, free: 15.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.3288, allocations: 15.94 kB / 0.5222 GB, free: 15.98 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.0004519/0.3293, allocations: 0.6593 MB / 0.5228 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3294, allocations: 55.23 kB / 0.5228 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3295, allocations: 4.094 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.3295, allocations: 27.64 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3297, allocations: 5.953 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.3301, allocations: 176.3 kB / 0.5231 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3304, allocations: 0.6929 MB / 0.5237 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.3305, allocations: 5.609 kB / 0.5237 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3305, allocations: 20.19 kB / 0.5238 GB, free: 14.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3305, allocations: 0 / 0.5238 GB, free: 14.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.3485, allocations: 1.549 MB / 0.5253 GB, free: 14.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.794, allocations: 18.05 kB / 0.5253 GB, free: 14.04 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