Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_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.001516/0.001516, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.00163/0.00163, allocations: 191.7 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1838/0.1838, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 74.38 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07537/0.07684, allocations: 57.78 MB / 440.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001556/0.07842, allocations: 0.5731 MB / 441.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000266/0.07871, allocations: 120 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.07874, allocations: 3.938 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.07877, allocations: 0 / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.07899, allocations: 39.83 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.079, allocations: 0 / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.07905, allocations: 19.92 kB / 441.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.07909, allocations: 8.281 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.07911, allocations: 15.92 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.07916, allocations: 15.86 kB / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.07917, allocations: 4 kB / 441.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.07927, allocations: 51.94 kB / 441.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/0.07928, allocations: 4 kB / 441.5 MB, free: 6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.07931, allocations: 15.86 kB / 441.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.07939, allocations: 35.89 kB / 441.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.0794, allocations: 0 / 441.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07941, allocations: 0 / 441.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.07942, allocations: 0 / 441.5 MB, free: 5.949 MB / 318.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.000218/0.07964, allocations: 355.4 kB / 441.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.07968, allocations: 15.89 kB / 441.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.07971, allocations: 38.69 kB / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.07974, allocations: 4.938 kB / 441.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.07982, allocations: 164.3 kB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.07983, allocations: 384 / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.07985, allocations: 4.375 kB / 442.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.07996, allocations: 62.23 kB / 442.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.07997, allocations: 7.875 kB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.07998, allocations: 4 kB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.07999, allocations: 0 / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.08007, allocations: 55.95 kB / 442.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.08019, allocations: 169.6 kB / 442.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.0803, allocations: 74.56 kB / 442.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.08034, allocations: 37.06 kB / 442.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.08059, allocations: 255.3 kB / 442.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.08061, allocations: 34.56 kB / 442.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.08062, allocations: 3.938 kB / 442.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001763/0.0808, allocations: 109.5 kB / 442.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/0.08082, allocations: 51.41 kB / 442.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/0.08086, allocations: 97.8 kB / 443 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.08087, allocations: 25.7 kB / 443.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-06/0.08089, allocations: 84.27 kB / 443.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.08092, allocations: 35.45 kB / 443.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.08095, allocations: 25.72 kB / 443.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.08099, allocations: 314.8 kB / 443.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.08103, allocations: 20 kB / 443.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.08106, allocations: 19.98 kB / 443.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.198e-05/0.08112, allocations: 48.8 kB / 443.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.08113, allocations: 0 / 443.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.766e-05/0.08123, allocations: 86.19 kB / 443.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.08125, allocations: 11.94 kB / 443.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.08126, allocations: 7.969 kB / 443.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.08128, allocations: 0 / 443.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.08136, allocations: 16 kB / 443.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.08137, allocations: 96 / 443.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.0814, allocations: 11.84 kB / 443.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.08141, allocations: 4 kB / 443.7 MB, free: 3.449 MB / 318.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 4.057e-05/0.08146, allocations: 109.8 kB / 443.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.08148, allocations: 15.92 kB / 443.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.08163, allocations: 97.58 kB / 443.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.08164, allocations: 7.984 kB / 443.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.08164, allocations: 0 / 443.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08165, allocations: 0 / 443.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.08172, allocations: 181.5 kB / 444.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.08173, allocations: 0 / 444.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.08179, allocations: 15.94 kB / 444.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.0818, allocations: 3.938 kB / 444.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.08181, allocations: 4 kB / 444.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.08182, allocations: 8 kB / 444.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.08182, allocations: 0 / 444.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.08193, allocations: 105 kB / 444.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.08195, allocations: 81.11 kB / 444.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.08197, allocations: 7.938 kB / 444.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.08199, allocations: 4 kB / 444.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.08202, allocations: 7.984 kB / 444.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.08203, allocations: 7.938 kB / 444.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.291e-05/0.08204, allocations: 79.28 kB / 444.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08205, allocations: 0 / 444.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.08224, allocations: 16 kB / 444.5 MB, free: 2.605 MB / 318.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.0002363/0.08248, allocations: 0.6593 MB / 445.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.08261, allocations: 64 kB / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08262, allocations: 0 / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.08266, allocations: 31.92 kB / 445.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.08279, allocations: 9.203 kB / 445.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.08312, allocations: 162.7 kB / 445.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.0832, allocations: 0.6845 MB / 446.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.08324, allocations: 8 kB / 446.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.08327, allocations: 19.36 kB / 446.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08328, allocations: 0 / 446.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3921/0.4754, allocations: 1.538 MB / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.922, allocations: 0 / 447.6 MB, free: 15.36 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches