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.001153/0.001152, allocations: 114.5 kB / 17.08 MB, free: 6.008 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.001146/0.001146, allocations: 198.3 kB / 18.01 MB, free: 5.086 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.272/1.272, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1913/0.1913, allocations: 43.52 MB / 314.8 MB, free: 460 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.001482/0.001482, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09535, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001589/0.09698, allocations: 0.5447 MB / 0.4891 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.09725, allocations: 68.31 kB / 0.4892 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.0973, allocations: 0 / 0.4892 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.09732, allocations: 0 / 0.4892 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.09755, allocations: 19.86 kB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.198e-05/0.09758, allocations: 7.938 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.09763, allocations: 11.98 kB / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.09768, allocations: 0 / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.0977, allocations: 7.984 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.09775, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.09776, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-05/0.09785, allocations: 23.97 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.09787, allocations: 3.938 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.09789, allocations: 4 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.848e-05/0.09798, allocations: 15.97 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09799, allocations: 4 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.098, allocations: 0 / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.098, allocations: 3.938 kB / 0.4892 GB, free: 11.09 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.0002834/0.09829, allocations: 331.5 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.09834, allocations: 11.89 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.09837, allocations: 0.9375 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.09848, allocations: 160.4 kB / 0.4897 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.0985, allocations: 8.312 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.09853, allocations: 4.359 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.09862, allocations: 38.27 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.09864, allocations: 192 / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.09866, allocations: 3.938 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09866, allocations: 0 / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.0987, allocations: 7.984 kB / 0.4898 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.09886, allocations: 149.7 kB / 0.4899 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.09905, allocations: 42.55 kB / 0.49 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.09909, allocations: 16.8 kB / 0.49 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.09942, allocations: 113.1 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.09945, allocations: 34.56 kB / 0.4901 GB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.09946, allocations: 0 / 0.4901 GB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001237/0.1007, allocations: 189.4 kB / 0.4903 GB, free: 9.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1007, allocations: 51.41 kB / 0.4904 GB, free: 9.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.1008, allocations: 101.8 kB / 0.4905 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1008, allocations: 25.7 kB / 0.4905 GB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.1009, allocations: 84.27 kB / 0.4906 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1009, allocations: 15.75 kB / 0.4906 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1009, allocations: 17.72 kB / 0.4906 GB, free: 9.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.101, allocations: 318.8 kB / 0.4909 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.1011, allocations: 15.98 kB / 0.4909 GB, free: 9.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1012, allocations: 15.98 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1014, allocations: 48.83 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1014, allocations: 3.938 kB / 0.491 GB, free: 9.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1016, allocations: 77.66 kB / 0.4911 GB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1016, allocations: 7.938 kB / 0.4911 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1016, allocations: 256 / 0.4911 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1016, allocations: 0 / 0.4911 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1018, allocations: 23.98 kB / 0.4911 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1018, allocations: 3.938 kB / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.1019, allocations: 7.984 kB / 0.4911 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1019, allocations: 4 kB / 0.4911 GB, free: 8.949 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.048e-05/0.102, allocations: 113.8 kB / 0.4912 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.102, allocations: 3.938 kB / 0.4912 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1022, allocations: 89.14 kB / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1023, allocations: 4 kB / 0.4913 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1023, allocations: 4 kB / 0.4913 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1023, allocations: 0 / 0.4913 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.103, allocations: 355.2 kB / 0.4916 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.103, allocations: 0 / 0.4916 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.1031, allocations: 15.98 kB / 0.4917 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1031, allocations: 4.016 kB / 0.4917 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1031, allocations: 8 kB / 0.4917 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1031, allocations: 0 / 0.4917 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1031, allocations: 0 / 0.4917 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1034, allocations: 180.2 kB / 0.4918 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1034, allocations: 81.11 kB / 0.4919 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1034, allocations: 4 kB / 0.4919 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1035, allocations: 7.984 kB / 0.4919 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1035, allocations: 0 / 0.4919 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1036, allocations: 11.94 kB / 0.4919 GB, free: 7.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.682e-05/0.1036, allocations: 75.28 kB / 0.492 GB, free: 7.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1036, allocations: 0 / 0.492 GB, free: 7.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1038, allocations: 8 kB / 0.492 GB, free: 7.887 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.000126/0.104, allocations: 107.3 kB / 0.4921 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1042, allocations: 51.97 kB / 0.4922 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1042, allocations: 0 / 0.4922 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.1043, allocations: 27.97 kB / 0.4922 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1045, allocations: 6.656 kB / 0.4922 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.1049, allocations: 171.5 kB / 0.4924 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.1051, allocations: 0.6807 MB / 0.493 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1052, allocations: 7.438 kB / 0.493 GB, free: 6.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.124e-06/0.1052, allocations: 0 / 0.493 GB, free: 6.77 MB / 382.1 MB Notification: Performance of Templates: time 0.001909/0.1071, allocations: 0.6793 MB / 0.4937 GB, free: 6.09 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