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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113.8 kB / 17.08 MB, free: 5.965 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.001305/0.001305, allocations: 194.5 kB / 18.01 MB, free: 5.051 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.331/1.331, allocations: 205.1 MB / 223.9 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.211/0.211, allocations: 43.52 MB / 314.8 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.001404/0.001404, allocations: 69.61 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00157/0.1129, allocations: 0.5484 MB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.1132, allocations: 60.31 kB / 0.4891 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.1133, allocations: 0 / 0.4891 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1133, allocations: 4 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1135, allocations: 19.92 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-05/0.1136, allocations: 11.86 kB / 0.4892 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.1136, allocations: 8 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.1137, allocations: 3.984 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.1137, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.1138, allocations: 8 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1138, allocations: 0 / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1139, allocations: 15.98 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.1139, allocations: 7.938 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.1139, allocations: 4 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.114, allocations: 23.95 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.114, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.114, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.114, allocations: 0 / 0.4893 GB, free: 11.06 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.0003263/0.1144, allocations: 327.4 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1144, allocations: 15.89 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1144, allocations: 0.9375 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1146, allocations: 164.3 kB / 0.4897 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1146, allocations: 8.375 kB / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1146, allocations: 384 / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.1147, allocations: 38.25 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1147, allocations: 192 / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1148, allocations: 3.938 kB / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1148, allocations: 0 / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.1148, allocations: 8 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.115, allocations: 149.7 kB / 0.4899 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1152, allocations: 42.55 kB / 0.49 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1152, allocations: 12.86 kB / 0.49 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/0.1155, allocations: 117.1 kB / 0.4901 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1156, allocations: 34.5 kB / 0.4901 GB, free: 9.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1156, allocations: 0 / 0.4901 GB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001256/0.1168, allocations: 193.3 kB / 0.4903 GB, free: 9.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1169, allocations: 51.41 kB / 0.4904 GB, free: 9.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.117, allocations: 89.86 kB / 0.4905 GB, free: 9.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.117, allocations: 25.83 kB / 0.4905 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.117, allocations: 88.14 kB / 0.4906 GB, free: 9.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.117, allocations: 19.73 kB / 0.4906 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1171, allocations: 17.72 kB / 0.4906 GB, free: 9.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.1172, allocations: 310.8 kB / 0.4909 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.1173, allocations: 19.98 kB / 0.4909 GB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.1173, allocations: 19.97 kB / 0.4909 GB, free: 9.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1175, allocations: 56.95 kB / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1175, allocations: 0 / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.1177, allocations: 73.67 kB / 0.4911 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1177, allocations: 7.938 kB / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1177, allocations: 4 kB / 0.4911 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1178, allocations: 3.984 kB / 0.4911 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1179, allocations: 11.98 kB / 0.4911 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1179, allocations: 3.984 kB / 0.4911 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.118, allocations: 11.94 kB / 0.4911 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.118, allocations: 4 kB / 0.4911 GB, free: 8.922 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.063e-05/0.1181, allocations: 117.8 kB / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.1181, allocations: 7.938 kB / 0.4912 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1184, allocations: 89.16 kB / 0.4913 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1184, allocations: 0 / 0.4913 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1184, allocations: 0 / 0.4913 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1184, allocations: 3.984 kB / 0.4913 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.1191, allocations: 359.2 kB / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1191, allocations: 0 / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.1192, allocations: 20.02 kB / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1192, allocations: 0 / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1192, allocations: 4 kB / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1192, allocations: 0 / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1192, allocations: 0 / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1195, allocations: 180.2 kB / 0.4918 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.1195, allocations: 81.11 kB / 0.4919 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1195, allocations: 12.17 kB / 0.4919 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1196, allocations: 4 kB / 0.4919 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.1197, allocations: 7.984 kB / 0.4919 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1197, allocations: 4 kB / 0.492 GB, free: 7.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.841e-05/0.1197, allocations: 75.28 kB / 0.492 GB, free: 7.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1197, allocations: 3.938 kB / 0.492 GB, free: 7.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.12, allocations: 8 kB / 0.492 GB, free: 7.848 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.0001327/0.1201, allocations: 103.3 kB / 0.4921 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1203, allocations: 51.83 kB / 0.4922 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1203, allocations: 0 / 0.4922 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.1204, allocations: 23.98 kB / 0.4922 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1206, allocations: 0 / 0.4922 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.1211, allocations: 179.3 kB / 0.4924 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1213, allocations: 0.6729 MB / 0.493 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.1214, allocations: 15.42 kB / 0.493 GB, free: 6.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1214, allocations: 0 / 0.493 GB, free: 6.734 MB / 382.1 MB Notification: Performance of Templates: time 0.002085/0.1235, allocations: 0.6601 MB / 0.4937 GB, free: 6.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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