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.001323/0.001323, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001288/0.001288, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.349/1.349, 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.2059/0.2059, allocations: 43.53 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.002691/0.002691, allocations: 69.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1041, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001703/0.1058, allocations: 0.5417 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.1061, allocations: 64.31 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1061, allocations: 0 / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.1062, allocations: 3.938 kB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1064, allocations: 19.86 kB / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.964e-05/0.1064, allocations: 4 kB / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.1065, allocations: 0 / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.1065, allocations: 11.98 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.1065, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.1066, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1066, allocations: 8 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.1067, allocations: 19.98 kB / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1067, allocations: 7.922 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.1067, allocations: 7.984 kB / 499.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.221e-05/0.1068, allocations: 11.98 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1068, allocations: 0 / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1068, allocations: 4 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1068, allocations: 3.938 kB / 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.0003702/0.1072, allocations: 331.4 kB / 0.4884 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1073, allocations: 15.89 kB / 0.4884 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1073, allocations: 30.75 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.1073, allocations: 4.938 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1075, allocations: 164.3 kB / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1075, allocations: 384 / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1075, allocations: 384 / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.1076, allocations: 38.25 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1076, allocations: 7.938 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1076, allocations: 0 / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1076, allocations: 0 / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.1077, allocations: 11.98 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1079, allocations: 153.6 kB / 0.4888 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1081, allocations: 38.55 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.1081, allocations: 8.859 kB / 0.4889 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.1085, allocations: 121.1 kB / 0.489 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1085, allocations: 30.56 kB / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1085, allocations: 0 / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001239/0.1098, allocations: 189.3 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1098, allocations: 55.41 kB / 0.4893 GB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1099, allocations: 93.86 kB / 0.4894 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1099, allocations: 25.7 kB / 0.4894 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.11, allocations: 88.12 kB / 0.4895 GB, free: 9.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.11, allocations: 11.84 kB / 0.4895 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.11, allocations: 17.72 kB / 0.4895 GB, free: 9.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1102, allocations: 314.8 kB / 0.4898 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.1103, allocations: 24.11 kB / 0.4898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.1104, allocations: 23.92 kB / 0.4898 GB, free: 9.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1105, allocations: 44.83 kB / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1105, allocations: 0 / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.1107, allocations: 85.73 kB / 0.49 GB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1108, allocations: 4 kB / 0.49 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1108, allocations: 8 kB / 0.49 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1108, allocations: 0 / 0.49 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1109, allocations: 15.92 kB / 0.49 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1109, allocations: 0 / 0.49 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.111, allocations: 15.92 kB / 0.49 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1111, allocations: 4 kB / 0.49 GB, free: 9.363 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.84e-05/0.1111, allocations: 109.8 kB / 0.4901 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1112, allocations: 7.938 kB / 0.4901 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1114, allocations: 89.2 kB / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1114, allocations: 0 / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1115, allocations: 0 / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1115, allocations: 0 / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.1122, allocations: 359.6 kB / 0.4905 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1122, allocations: 48 / 0.4905 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1123, allocations: 19.97 kB / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1123, allocations: 0 / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1123, allocations: 0 / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1124, allocations: 7.922 kB / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1124, allocations: 0 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1126, allocations: 186.6 kB / 0.4907 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1127, allocations: 81.06 kB / 0.4908 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1127, allocations: 4 kB / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.1128, allocations: 192 / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.1128, allocations: 15.92 kB / 0.4908 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1128, allocations: 0 / 0.4908 GB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.1129, allocations: 87.28 kB / 0.4909 GB, free: 8.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1129, allocations: 0 / 0.4909 GB, free: 8.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1131, allocations: 8 kB / 0.4909 GB, free: 8.293 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.0005807/0.1137, allocations: 0.7094 MB / 0.4916 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1139, allocations: 51.89 kB / 0.4917 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1139, allocations: 0 / 0.4917 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.114, allocations: 23.97 kB / 0.4917 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1143, allocations: 8 kB / 0.4917 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1148, allocations: 167.3 kB / 0.4919 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1151, allocations: 0.6807 MB / 0.4925 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.1151, allocations: 11.94 kB / 0.4925 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1152, allocations: 11.38 kB / 0.4926 GB, free: 6.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1152, allocations: 0 / 0.4926 GB, free: 6.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.1374, allocations: 1.476 MB / 0.494 GB, free: 5.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.682, allocations: 9.078 kB / 0.494 GB, free: 5.047 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