Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 113.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.002136/0.002136, allocations: 197.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 2.375/2.375, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.4041/0.4041, allocations: 43.52 MB / 314.8 MB, free: 468 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.003009/0.003009, allocations: 67.89 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1936, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.002862/0.1965, allocations: 0.4977 MB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1998, allocations: 1.394 MB / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.1998, allocations: 0 / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1999, allocations: 0 / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.2, allocations: 0 / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2012, allocations: 219.9 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.2013, allocations: 8 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.2014, allocations: 7.984 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.2014, allocations: 4 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.2015, allocations: 7.922 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2015, allocations: 4 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.2023, allocations: 279.6 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2023, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.2024, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.2027, allocations: 143.7 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.2028, allocations: 4 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2028, allocations: 0 / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.2028, allocations: 0 / 0.491 GB, free: 9.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005479/0.2034, allocations: 343.4 kB / 0.4913 GB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2034, allocations: 11.89 kB / 0.4913 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.2035, allocations: 0.9375 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.2037, allocations: 172.3 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2037, allocations: 384 / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2037, allocations: 384 / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2039, allocations: 45.94 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2039, allocations: 3.984 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2039, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2039, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.204, allocations: 4 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.2042, allocations: 149.7 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.2043, allocations: 22.61 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.2043, allocations: 4.859 kB / 0.4917 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2044, allocations: 0 / 0.4917 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.2044, allocations: 38.44 kB / 0.4918 GB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.2044, allocations: 0 / 0.4918 GB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002084/0.2047, allocations: 33.77 kB / 0.4918 GB, free: 8.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2047, allocations: 55.53 kB / 0.4919 GB, free: 8.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2048, allocations: 101.8 kB / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2049, allocations: 25.7 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.2049, allocations: 80.14 kB / 0.4921 GB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.205, allocations: 3.906 kB / 0.4921 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.205, allocations: 13.72 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2052, allocations: 310.8 kB / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.2052, allocations: 8.125 kB / 0.4924 GB, free: 7.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.2053, allocations: 4 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.2053, allocations: 16.78 kB / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2054, allocations: 0 / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.2055, allocations: 29.7 kB / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2055, allocations: 11.94 kB / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2055, allocations: 0 / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2055, allocations: 0 / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.2056, allocations: 0 / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2057, allocations: 8.094 kB / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.2057, allocations: 3.938 kB / 0.4924 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2057, allocations: 0 / 0.4924 GB, free: 7.574 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 (1): * Single equations (assignments): 1 * 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 0.0001153/0.2059, allocations: 113.8 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.2059, allocations: 7.938 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.2061, allocations: 48.77 kB / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2061, allocations: 0 / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.2061, allocations: 4 kB / 0.4926 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2061, allocations: 3.984 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2063, allocations: 145.7 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.2063, allocations: 4 kB / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.2063, allocations: 3.938 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2063, allocations: 3.938 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2064, allocations: 0 / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2064, allocations: 3.984 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2064, allocations: 0 / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.2065, allocations: 61.11 kB / 0.4928 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.2066, allocations: 85.05 kB / 0.4929 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2066, allocations: 0 / 0.4929 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2068, allocations: 7.984 kB / 0.4929 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2068, allocations: 0 / 0.4929 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2068, allocations: 4 kB / 0.4929 GB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.887e-05/0.2069, allocations: 79.31 kB / 0.493 GB, free: 6.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2069, allocations: 0 / 0.493 GB, free: 6.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.2074, allocations: 36 kB / 0.493 GB, free: 6.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004667/0.2079, allocations: 139.2 kB / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.208, allocations: 8 kB / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.208, allocations: 0 / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.322e-05/0.2081, allocations: 25.7 kB / 0.4932 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2083, allocations: 7.438 kB / 0.4932 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.2088, allocations: 130.7 kB / 0.4933 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.2092, allocations: 0.669 MB / 0.494 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.2092, allocations: 7.438 kB / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2092, allocations: 0 / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of Templates: time 0.004329/0.2136, allocations: 0.9051 MB / 0.4949 GB, free: 4.906 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches