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.000915/0.0009152, allocations: 94.8 kB / 17.35 MB, free: 6.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.001382/0.001382, allocations: 168.7 kB / 18.25 MB, free: 5.508 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.241/1.241, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.17/0.17, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 13.66 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08943, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0005681/0.09004, allocations: 258.8 kB / 472.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003958/0.09046, allocations: 159.5 kB / 472.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.09049, allocations: 0 / 472.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.09052, allocations: 4 kB / 472.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.09073, allocations: 27.91 kB / 472.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.675e-06/0.09075, allocations: 0 / 472.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.0908, allocations: 27.86 kB / 472.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.09084, allocations: 0 / 472.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.09087, allocations: 7.984 kB / 472.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.09092, allocations: 23.86 kB / 472.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.09094, allocations: 0 / 472.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09105, allocations: 47.95 kB / 472.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.09106, allocations: 7.922 kB / 472.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.0911, allocations: 37.62 kB / 472.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.422e-05/0.0912, allocations: 39.89 kB / 473 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09121, allocations: 0 / 473 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09122, allocations: 7.938 kB / 473 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.09122, allocations: 0 / 473 MB, free: 12.59 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.0002361/0.09146, allocations: 334 kB / 473.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.09151, allocations: 19.97 kB / 473.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.09154, allocations: 30.75 kB / 473.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.09157, allocations: 8.844 kB / 473.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.09167, allocations: 160.4 kB / 473.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.09169, allocations: 8.375 kB / 473.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.0917, allocations: 4.312 kB / 473.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.09182, allocations: 62.17 kB / 473.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.09184, allocations: 3.938 kB / 473.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.09185, allocations: 4 kB / 473.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.09186, allocations: 4 kB / 473.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.09196, allocations: 51.95 kB / 473.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.09212, allocations: 165.7 kB / 473.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.09225, allocations: 82.81 kB / 473.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.09231, allocations: 36.78 kB / 473.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.09261, allocations: 255.3 kB / 474.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.09264, allocations: 34.56 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.09265, allocations: 0 / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002058/0.09286, allocations: 105.5 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.0929, allocations: 55.39 kB / 474.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.09296, allocations: 97.86 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.09297, allocations: 25.7 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.093, allocations: 80.52 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.09304, allocations: 35.67 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.09308, allocations: 17.72 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.09316, allocations: 310.8 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.0932, allocations: 27.92 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.09323, allocations: 12 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/0.09331, allocations: 52.78 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09332, allocations: 4 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.09345, allocations: 85.53 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.09347, allocations: 10.59 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.09348, allocations: 4 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.09349, allocations: 4 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.09359, allocations: 15.98 kB / 475.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.0936, allocations: 0 / 475.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.09364, allocations: 7.938 kB / 475.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.09365, allocations: 4 kB / 475.2 MB, free: 10.13 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.048e-05/0.09372, allocations: 105.8 kB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.09373, allocations: 11.94 kB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.0939, allocations: 97.58 kB / 475.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.09392, allocations: 8.359 kB / 475.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09393, allocations: 3.938 kB / 475.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.09394, allocations: 0 / 475.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.09405, allocations: 173.6 kB / 475.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.09406, allocations: 7.938 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.09413, allocations: 19.92 kB / 475.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.09414, allocations: 3.938 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.09415, allocations: 8 kB / 475.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.09416, allocations: 0 / 475.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.09416, allocations: 4 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.09429, allocations: 113 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.09433, allocations: 84.95 kB / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.09435, allocations: 7.938 kB / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.09438, allocations: 4 kB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.0944, allocations: 3.984 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.09441, allocations: 4 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.468e-05/0.09444, allocations: 79.28 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09444, allocations: 0 / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000205/0.09465, allocations: 16 kB / 475.9 MB, free: 9.289 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.0003758/0.09504, allocations: 0.6497 MB / 476.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.09516, allocations: 51.92 kB / 476.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.09517, allocations: 4.094 kB / 476.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.09522, allocations: 36.3 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.09536, allocations: 8.188 kB / 476.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.09576, allocations: 196.2 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.09596, allocations: 0.6809 MB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.096, allocations: 8 kB / 477.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.09604, allocations: 19.38 kB / 477.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09604, allocations: 0 / 477.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3671/0.4632, allocations: 1.344 MB / 478.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.4634, allocations: 216.2 kB / 479.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.054, allocations: 0 / 479.1 MB, free: 6.055 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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