Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001143/0.001143, allocations: 104 kB / 16.4 MB, free: 6.461 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.001047/0.001047, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2018/0.2018, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001431/0.001431, allocations: 77.47 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001649/0.1045, allocations: 0.5416 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1048, allocations: 68.31 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.1048, allocations: 0 / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1049, allocations: 7.875 kB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1051, allocations: 15.92 kB / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.992e-05/0.1051, allocations: 0 / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.1052, allocations: 7.984 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1053, allocations: 7.984 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1053, allocations: 7.984 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1053, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1053, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1054, allocations: 27.98 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1055, allocations: 3.938 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.1055, allocations: 0 / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.1056, allocations: 23.95 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1056, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1056, allocations: 3.938 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1056, allocations: 0 / 499.8 MB, free: 11.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000327/0.1059, allocations: 331.5 kB / 0.4884 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.106, allocations: 15.83 kB / 0.4884 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.106, allocations: 34.75 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.106, allocations: 0.9375 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.1061, allocations: 160.4 kB / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1062, allocations: 4.375 kB / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1062, allocations: 384 / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.1063, allocations: 38.25 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1063, allocations: 3.938 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1063, allocations: 0 / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1063, allocations: 0 / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.1064, allocations: 8 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.1065, allocations: 157.6 kB / 0.4888 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1067, allocations: 38.61 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.1067, allocations: 8.859 kB / 0.4889 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.1071, allocations: 117.1 kB / 0.489 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1071, allocations: 34.56 kB / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1071, allocations: 0 / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001256/0.1084, allocations: 185.3 kB / 0.4892 GB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1084, allocations: 59.41 kB / 0.4893 GB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.1085, allocations: 93.86 kB / 0.4893 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1085, allocations: 25.7 kB / 0.4894 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.1085, allocations: 80.14 kB / 0.4894 GB, free: 9.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1086, allocations: 19.73 kB / 0.4895 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1086, allocations: 17.72 kB / 0.4895 GB, free: 9.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1087, allocations: 310.8 kB / 0.4898 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.1088, allocations: 28.09 kB / 0.4898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.1089, allocations: 23.92 kB / 0.4898 GB, free: 9.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.109, allocations: 45.02 kB / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1091, allocations: 0 / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.1092, allocations: 77.61 kB / 0.4899 GB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1093, allocations: 7.984 kB / 0.49 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1093, allocations: 0 / 0.49 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1093, allocations: 7.938 kB / 0.49 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1094, allocations: 15.98 kB / 0.49 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1094, allocations: 3.984 kB / 0.49 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.1095, allocations: 8 kB / 0.49 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1096, allocations: 3.938 kB / 0.49 GB, free: 9.371 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 (5): * Single equations (assignments): 5 * 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 7.632e-05/0.1096, allocations: 117.8 kB / 0.4901 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1097, allocations: 7.844 kB / 0.4901 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.1099, allocations: 85.22 kB / 0.4902 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1099, allocations: 4 kB / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1099, allocations: 3.984 kB / 0.4902 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1099, allocations: 0 / 0.4902 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.1106, allocations: 355.6 kB / 0.4905 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1106, allocations: 4 kB / 0.4905 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/0.1107, allocations: 12.03 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1108, allocations: 3.984 kB / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1108, allocations: 4 kB / 0.4906 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1108, allocations: 3.938 kB / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1108, allocations: 128 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.111, allocations: 186.6 kB / 0.4907 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1111, allocations: 85.09 kB / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1111, allocations: 0 / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1112, allocations: 4 kB / 0.4908 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1112, allocations: 7.984 kB / 0.4908 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1112, allocations: 0 / 0.4908 GB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.1113, allocations: 87.22 kB / 0.4909 GB, free: 8.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 0 / 0.4909 GB, free: 8.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1115, allocations: 8 kB / 0.4909 GB, free: 8.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0005079/0.112, allocations: 0.721 MB / 0.4916 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1122, allocations: 51.89 kB / 0.4917 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1122, allocations: 0 / 0.4917 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.1123, allocations: 19.98 kB / 0.4917 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1125, allocations: 7.984 kB / 0.4917 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.1131, allocations: 167.5 kB / 0.4919 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1133, allocations: 0.6806 MB / 0.4925 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1134, allocations: 4 kB / 0.4925 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.1134, allocations: 15.44 kB / 0.4925 GB, free: 6.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1134, allocations: 3.938 kB / 0.4926 GB, free: 6.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1313, allocations: 1.485 MB / 0.494 GB, free: 5.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.294, allocations: 7.781 kB / 0.494 GB, free: 5.035 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches