Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009259/0.0009261, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007086/0.0007086, allocations: 90.66 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.31/0.31, allocations: 43.46 MB / 358.6 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.006e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/0.4086, allocations: 84.57 MB / 0.5554 GB, free: 4.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4089, allocations: 69.28 kB / 0.5555 GB, free: 4.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007954/0.4168, allocations: 3.154 MB / 0.5585 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4169, allocations: 0 / 0.5585 GB, free: 1.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.4169, allocations: 0 / 0.5585 GB, free: 1.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002226/0.4171, allocations: 368.2 kB / 0.5589 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4171, allocations: 12.03 kB / 0.5589 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.4172, allocations: 12.19 kB / 0.5589 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.4173, allocations: 167.1 kB / 0.5591 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4173, allocations: 4 kB / 0.5591 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4173, allocations: 4 kB / 0.5591 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4174, allocations: 66.8 kB / 0.5591 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4174, allocations: 4 kB / 0.5591 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4175, allocations: 1.375 kB / 0.5591 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4175, allocations: 11.94 kB / 0.5592 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.4175, allocations: 43.91 kB / 0.5592 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.4177, allocations: 177.5 kB / 0.5594 GB, free: 296 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.4178, allocations: 86.55 kB / 0.5595 GB, free: 200 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.4178, allocations: 24.86 kB / 0.5595 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.418, allocations: 117.1 kB / 0.5596 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4181, allocations: 30.56 kB / 0.5596 GB, free: 16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.4181, allocations: 0 / 0.5596 GB, free: 16 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1143/0.5324, allocations: 4.971 MB / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.5325, allocations: 59.41 kB / 0.5645 GB, free: 10.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.5325, allocations: 85 kB / 0.5646 GB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5326, allocations: 33.64 kB / 0.5646 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.5326, allocations: 80.52 kB / 0.5647 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.5327, allocations: 78.91 kB / 0.5648 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.5327, allocations: 0 / 0.5648 GB, free: 10.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.5328, allocations: 318.8 kB / 0.5651 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.5329, allocations: 72.11 kB / 0.5652 GB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.533, allocations: 78 kB / 0.5652 GB, free: 10.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.5335, allocations: 105.3 kB / 0.5653 GB, free: 10.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5335, allocations: 0 / 0.5653 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006551/0.5341, allocations: 274.4 kB / 0.5656 GB, free: 9.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5342, allocations: 4 kB / 0.5656 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5342, allocations: 1.328 kB / 0.5656 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5342, allocations: 4 kB / 0.5656 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.5346, allocations: 95.81 kB / 0.5657 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5346, allocations: 0 / 0.5657 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.5348, allocations: 44.52 kB / 0.5657 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.5348, allocations: 15.98 kB / 0.5658 GB, free: 9.637 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/0.5349, allocations: 116.9 kB / 0.5659 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.5349, allocations: 7.906 kB / 0.5659 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.5358, allocations: 337.7 kB / 0.5662 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5358, allocations: 0 / 0.5662 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5359, allocations: 7.953 kB / 0.5662 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5359, allocations: 3.984 kB / 0.5662 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5375, allocations: 0.7257 MB / 0.5669 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5375, allocations: 8.062 kB / 0.5669 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.5378, allocations: 83.86 kB / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5378, allocations: 4 kB / 0.567 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.5378, allocations: 15.98 kB / 0.567 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5379, allocations: 0 / 0.567 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5379, allocations: 4 kB / 0.567 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.5385, allocations: 364.2 kB / 0.5674 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.5386, allocations: 89 kB / 0.5675 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5386, allocations: 3.938 kB / 0.5675 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.5388, allocations: 39.97 kB / 0.5675 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.5388, allocations: 23.92 kB / 0.5675 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.5389, allocations: 15.98 kB / 0.5675 GB, free: 7.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.5389, allocations: 79.28 kB / 0.5676 GB, free: 7.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5389, allocations: 3.938 kB / 0.5676 GB, free: 7.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001355/0.5403, allocations: 0.609 MB / 0.5682 GB, free: 6.996 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/0.5427, allocations: 339.5 kB / 0.5685 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.543, allocations: 168.4 kB / 0.5687 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5431, allocations: 0 / 0.5687 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5432, allocations: 87.91 kB / 0.5688 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.5433, allocations: 12.22 kB / 0.5688 GB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.544, allocations: 256.8 kB / 0.569 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.5442, allocations: 0.6978 MB / 0.5697 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.5445, allocations: 81.83 kB / 0.5698 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.5446, allocations: 47.39 kB / 0.5699 GB, free: 5.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5446, allocations: 0 / 0.5699 GB, free: 5.266 MB / 394.7 MB Notification: Performance of Templates: time 0.02468/0.5693, allocations: 17.09 MB / 0.5865 GB, free: 4.191 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches