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.001469/0.001469, allocations: 104.9 kB / 16.4 MB, free: 6.469 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.001782/0.001782, allocations: 189.5 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.308/1.308, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1959/0.1959, 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.001418/0.001418, allocations: 69.41 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001714/0.1053, allocations: 0.5493 MB / 0.4884 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1056, allocations: 68.25 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1057, allocations: 0 / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1057, allocations: 0 / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1059, allocations: 19.86 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.111e-05/0.1059, allocations: 4 kB / 0.4885 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.106, allocations: 11.97 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.1061, allocations: 0 / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.1061, allocations: 4 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.1061, allocations: 4 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1062, allocations: 3.938 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.1063, allocations: 27.97 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.1063, allocations: 3.938 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.1063, allocations: 0 / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.1064, allocations: 19.97 kB / 0.4886 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1064, allocations: 0 / 0.4886 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1064, allocations: 4 kB / 0.4886 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1064, allocations: 3.938 kB / 0.4886 GB, free: 11.05 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.0003525/0.1068, allocations: 322.9 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1068, allocations: 15.89 kB / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1069, allocations: 0.9375 kB / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.107, allocations: 168.3 kB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.107, allocations: 384 / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1071, allocations: 4.375 kB / 0.4891 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1072, allocations: 38.25 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1072, allocations: 4.188 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1072, allocations: 3.938 kB / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1072, allocations: 0 / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.1073, allocations: 19.86 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1075, allocations: 149.7 kB / 0.4893 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1077, allocations: 34.61 kB / 0.4893 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.1077, allocations: 12.86 kB / 0.4893 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.1081, allocations: 117.1 kB / 0.4895 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1082, allocations: 30.56 kB / 0.4895 GB, free: 9.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1082, allocations: 0 / 0.4895 GB, free: 9.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001241/0.1094, allocations: 189.3 kB / 0.4897 GB, free: 9.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1095, allocations: 51.41 kB / 0.4897 GB, free: 9.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.1096, allocations: 93.86 kB / 0.4898 GB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1096, allocations: 29.64 kB / 0.4898 GB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.1096, allocations: 84.12 kB / 0.4899 GB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1097, allocations: 15.97 kB / 0.4899 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1097, allocations: 21.72 kB / 0.4899 GB, free: 9.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1098, allocations: 318.8 kB / 0.4903 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.1099, allocations: 15.98 kB / 0.4903 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.11, allocations: 15.98 kB / 0.4903 GB, free: 9.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1101, allocations: 48.83 kB / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1101, allocations: 0 / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.1103, allocations: 81.61 kB / 0.4904 GB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1104, allocations: 11.94 kB / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1104, allocations: 256 / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1104, allocations: 0 / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1105, allocations: 23.92 kB / 0.4904 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1105, allocations: 3.938 kB / 0.4904 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.1106, allocations: 7.984 kB / 0.4905 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1106, allocations: 0 / 0.4905 GB, free: 8.914 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 6.743e-05/0.1107, allocations: 121.8 kB / 0.4906 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1107, allocations: 3.938 kB / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.111, allocations: 85.2 kB / 0.4907 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.111, allocations: 0 / 0.4907 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.111, allocations: 0 / 0.4907 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.111, allocations: 8.281 kB / 0.4907 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1117, allocations: 351.3 kB / 0.491 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1117, allocations: 0 / 0.491 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.1118, allocations: 23.92 kB / 0.491 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1118, allocations: 0 / 0.491 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1118, allocations: 3.984 kB / 0.491 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.1118, allocations: 8.031 kB / 0.491 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1118, allocations: 0 / 0.491 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1121, allocations: 174.6 kB / 0.4912 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1121, allocations: 89.06 kB / 0.4913 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1122, allocations: 3.938 kB / 0.4913 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.1123, allocations: 8 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.1123, allocations: 3.984 kB / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.1123, allocations: 7.938 kB / 0.4913 GB, free: 7.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.1123, allocations: 75.28 kB / 0.4914 GB, free: 7.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1123, allocations: 0 / 0.4914 GB, free: 7.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1126, allocations: 12 kB / 0.4914 GB, free: 7.84 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.0001316/0.1127, allocations: 99.23 kB / 0.4915 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1129, allocations: 52.11 kB / 0.4915 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1129, allocations: 0 / 0.4915 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.113, allocations: 31.91 kB / 0.4916 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1132, allocations: 8 kB / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1136, allocations: 129.7 kB / 0.4917 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1138, allocations: 0.6807 MB / 0.4924 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.1139, allocations: 8 kB / 0.4924 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1139, allocations: 11.44 kB / 0.4924 GB, free: 6.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1139, allocations: 7.938 kB / 0.4924 GB, free: 6.75 MB / 382.1 MB Notification: Performance of Templates: time 0.002536/0.1165, allocations: 0.6569 MB / 0.493 GB, free: 6.094 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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