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.004533/0.004533, allocations: 100.5 kB / 15.87 MB, free: 6.309 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.001163/0.001163, allocations: 192.6 kB / 16.79 MB, free: 6.238 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.235/1.235, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.294/0.294, allocations: 43.5 MB / 313.5 MB, free: 8.543 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.001331/0.001331, allocations: 63.91 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001545/0.1032, allocations: 0.6493 MB / 440.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.1035, allocations: 119.6 kB / 440.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.1035, allocations: 0 / 440.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1036, allocations: 7.938 kB / 440.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1037, allocations: 23.91 kB / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.384e-06/0.1038, allocations: 0 / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.1038, allocations: 27.86 kB / 440.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.1038, allocations: 4 kB / 440.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.1039, allocations: 7.938 kB / 440.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.1039, allocations: 19.91 kB / 440.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.1039, allocations: 0 / 440.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.104, allocations: 51.94 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.104, allocations: 3.938 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1041, allocations: 11.94 kB / 440.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.1041, allocations: 39.88 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1042, allocations: 4 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1042, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1042, allocations: 0 / 440.9 MB, free: 13.79 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.0002496/0.1044, allocations: 347.7 kB / 441.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1045, allocations: 15.97 kB / 441.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.1045, allocations: 34.73 kB / 441.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1045, allocations: 4.938 kB / 441.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.1046, allocations: 160.4 kB / 441.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1046, allocations: 12.31 kB / 441.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1046, allocations: 384 / 441.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1048, allocations: 62.17 kB / 441.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1048, allocations: 3.938 kB / 441.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1048, allocations: 8 kB / 441.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1048, allocations: 0 / 441.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.1049, allocations: 51.95 kB / 441.6 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.105, allocations: 173.5 kB / 441.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1052, allocations: 78.55 kB / 441.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1052, allocations: 32.84 kB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.1055, allocations: 255.3 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1055, allocations: 34.55 kB / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1055, allocations: 0 / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001935/0.1057, allocations: 101.8 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.1058, allocations: 51.41 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.1058, allocations: 101.8 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1059, allocations: 25.7 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.1059, allocations: 88.2 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1059, allocations: 39.39 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.106, allocations: 29.7 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.106, allocations: 314.8 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.1061, allocations: 19.98 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.1061, allocations: 13.75 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.1062, allocations: 57.34 kB / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1062, allocations: 4 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.1063, allocations: 81.62 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1063, allocations: 11.94 kB / 443 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.1063, allocations: 0 / 443 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1064, allocations: 4 kB / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.1064, allocations: 19.92 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1065, allocations: 3.984 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1065, allocations: 3.906 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1065, allocations: 7.938 kB / 443.1 MB, free: 11.29 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.718e-05/0.1066, allocations: 109.8 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1066, allocations: 11.94 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.1067, allocations: 101.6 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1068, allocations: 4 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1068, allocations: 4 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1068, allocations: 0 / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1069, allocations: 169.6 kB / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1069, allocations: 0 / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.107, allocations: 15.98 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.107, allocations: 3.938 kB / 443.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.107, allocations: 4 kB / 443.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.107, allocations: 4 kB / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.107, allocations: 0 / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1071, allocations: 117.2 kB / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.1072, allocations: 85.03 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1072, allocations: 3.938 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.1072, allocations: 4 kB / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.1072, allocations: 7.984 kB / 443.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1072, allocations: 8 kB / 443.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.1073, allocations: 79.22 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1073, allocations: 0 / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.1075, allocations: 16 kB / 443.8 MB, free: 10.45 MB / 382.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.0003509/0.1078, allocations: 0.6669 MB / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1079, allocations: 56.02 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1079, allocations: 0 / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.108, allocations: 31.98 kB / 444.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1081, allocations: 4 kB / 444.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1085, allocations: 192.2 kB / 444.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1087, allocations: 0.6848 MB / 445.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.1087, allocations: 4 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1088, allocations: 16 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1088, allocations: 0 / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5924/0.7011, allocations: 1.405 MB / 446.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.7014, allocations: 206.9 kB / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.199, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches