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.001511/0.001511, allocations: 105.1 kB / 17.32 MB, free: 6.008 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.001656/0.001656, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.33/1.33, allocations: 222.9 MB / 241.9 MB, free: 13.79 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.2045/0.2045, allocations: 44.18 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.17 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001954/0.1067, allocations: 0.5838 MB / 469.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005338/0.1073, allocations: 158 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.1074, allocations: 0 / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.1074, allocations: 0 / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1078, allocations: 31.83 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.13e-06/0.1078, allocations: 3.938 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.1079, allocations: 23.94 kB / 469.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.1079, allocations: 3.984 kB / 469.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.108, allocations: 15.88 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.108, allocations: 15.91 kB / 469.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1081, allocations: 0 / 469.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1082, allocations: 51.95 kB / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1082, allocations: 7.984 kB / 469.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1083, allocations: 11.88 kB / 469.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1084, allocations: 43.88 kB / 469.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1084, allocations: 0 / 469.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1084, allocations: 0 / 469.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1085, allocations: 4 kB / 469.8 MB, free: 13.66 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.000374/0.1088, allocations: 339.8 kB / 470.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1089, allocations: 8.031 kB / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.1089, allocations: 30.75 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.109, allocations: 12.78 kB / 470.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1091, allocations: 168.4 kB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1091, allocations: 4.375 kB / 470.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1092, allocations: 4.375 kB / 470.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1093, allocations: 58.19 kB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1093, allocations: 7.922 kB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1093, allocations: 4 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1093, allocations: 4 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1095, allocations: 47.95 kB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1096, allocations: 169.7 kB / 470.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1098, allocations: 82.58 kB / 470.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1098, allocations: 24.86 kB / 470.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.1102, allocations: 259.3 kB / 471 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1102, allocations: 30.56 kB / 471 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.1102, allocations: 0 / 471 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002254/0.1105, allocations: 113.6 kB / 471.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1105, allocations: 59.41 kB / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.1106, allocations: 89.86 kB / 471.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1106, allocations: 29.83 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.1106, allocations: 80.14 kB / 471.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1107, allocations: 35.53 kB / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1108, allocations: 29.7 kB / 471.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1109, allocations: 310.8 kB / 471.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.111, allocations: 19.98 kB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.111, allocations: 19.94 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.1111, allocations: 52.84 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1111, allocations: 4 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001217/0.1112, allocations: 85.53 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1113, allocations: 7.938 kB / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1113, allocations: 4.656 kB / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1113, allocations: 0 / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.1114, allocations: 12 kB / 471.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1114, allocations: 7.984 kB / 471.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1114, allocations: 7.938 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1115, allocations: 4 kB / 472 MB, free: 11.19 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 8.894e-05/0.1115, allocations: 117.8 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1116, allocations: 11.81 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.1118, allocations: 109.5 kB / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1118, allocations: 0 / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1118, allocations: 0 / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1118, allocations: 0 / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1119, allocations: 169.7 kB / 472.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1119, allocations: 0 / 472.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.112, allocations: 12 kB / 472.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.112, allocations: 15.92 kB / 472.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.112, allocations: 4 kB / 472.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.112, allocations: 0 / 472.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1121, allocations: 0 / 472.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1122, allocations: 105.1 kB / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1123, allocations: 84.95 kB / 472.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1123, allocations: 15.92 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.1123, allocations: 0 / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.1123, allocations: 8 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1123, allocations: 0 / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.1124, allocations: 75.28 kB / 472.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 472.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1126, allocations: 23.98 kB / 472.7 MB, free: 10.35 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.0004213/0.113, allocations: 0.6639 MB / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1132, allocations: 59.92 kB / 473.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1132, allocations: 0 / 473.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.1132, allocations: 27.98 kB / 473.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.1134, allocations: 4 kB / 473.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1139, allocations: 190.4 kB / 473.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1143, allocations: 0.6846 MB / 474.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.1143, allocations: 11.98 kB / 474.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.1144, allocations: 11.44 kB / 474.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1144, allocations: 3.938 kB / 474.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.126, allocations: 1.461 MB / 475.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.1263, allocations: 206.3 kB / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.914, allocations: 3.938 kB / 476 MB, free: 6.996 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