Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001308/0.001307, allocations: 90.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3138/0.3138, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.898e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3987, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5518, allocations: 83.24 MB / 0.5472 GB, free: 76 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5521, allocations: 63.97 kB / 0.5472 GB, free: 12 kB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.00248/0.5546, allocations: 0.6257 MB / 0.5479 GB, free: 15.39 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5546, allocations: 0 / 0.5479 GB, free: 15.39 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5546, allocations: 0 / 0.5479 GB, free: 15.39 MB / 395.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.0002886/0.5549, allocations: 311.1 kB / 0.5482 GB, free: 15.04 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.555, allocations: 8.031 kB / 0.5482 GB, free: 15.03 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.555, allocations: 4 kB / 0.5482 GB, free: 15.03 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.5552, allocations: 178.9 kB / 0.5483 GB, free: 14.81 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5552, allocations: 0 / 0.5483 GB, free: 14.81 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5552, allocations: 4 kB / 0.5483 GB, free: 14.81 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.122e-05/0.5553, allocations: 4 kB / 0.5483 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/0.5554, allocations: 29.7 kB / 0.5484 GB, free: 14.77 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5554, allocations: 0 / 0.5484 GB, free: 14.77 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5554, allocations: 0 / 0.5484 GB, free: 14.77 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5554, allocations: 4 kB / 0.5484 GB, free: 14.77 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.5556, allocations: 138.1 kB / 0.5485 GB, free: 14.59 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.5558, allocations: 30.66 kB / 0.5485 GB, free: 14.55 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.5559, allocations: 24.84 kB / 0.5486 GB, free: 14.53 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004474/0.5564, allocations: 113.1 kB / 0.5487 GB, free: 14.4 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5564, allocations: 34.56 kB / 0.5487 GB, free: 14.36 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.5564, allocations: 4 kB / 0.5487 GB, free: 14.35 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.001801/0.5582, allocations: 169.4 kB / 0.5489 GB, free: 14.18 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.5583, allocations: 55.34 kB / 0.5489 GB, free: 14.11 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.5584, allocations: 85 kB / 0.549 GB, free: 14.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5584, allocations: 29.7 kB / 0.549 GB, free: 13.99 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.5585, allocations: 150.6 kB / 0.5492 GB, free: 13.84 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5585, allocations: 7.812 kB / 0.5492 GB, free: 13.83 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.5585, allocations: 0 / 0.5492 GB, free: 13.83 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5587, allocations: 318.8 kB / 0.5495 GB, free: 13.51 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.5587, allocations: 12.11 kB / 0.5495 GB, free: 13.5 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.5588, allocations: 10.95 kB / 0.5495 GB, free: 13.49 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.5589, allocations: 15.98 kB / 0.5495 GB, free: 13.48 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5589, allocations: 4 kB / 0.5495 GB, free: 13.47 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002073/0.5591, allocations: 65.62 kB / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5592, allocations: 4 kB / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5592, allocations: 0 / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5592, allocations: 0 / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.5594, allocations: 15.98 kB / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5594, allocations: 11.94 kB / 0.5496 GB, free: 13.37 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.5596, allocations: 7.984 kB / 0.5496 GB, free: 13.36 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5596, allocations: 0 / 0.5496 GB, free: 13.36 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.5597, allocations: 108.9 kB / 0.5497 GB, free: 13.25 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.5597, allocations: 3.953 kB / 0.5497 GB, free: 13.25 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.56, allocations: 78.09 kB / 0.5498 GB, free: 13.16 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.56, allocations: 0 / 0.5498 GB, free: 13.16 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5601, allocations: 0 / 0.5498 GB, free: 13.16 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5601, allocations: 4 kB / 0.5498 GB, free: 13.16 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.5609, allocations: 319.9 kB / 0.5501 GB, free: 12.8 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.5609, allocations: 4.047 kB / 0.5501 GB, free: 12.79 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5611, allocations: 24 kB / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5612, allocations: 0 / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5612, allocations: 0 / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5612, allocations: 0 / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.5612, allocations: 4 kB / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.5615, allocations: 178 kB / 0.5503 GB, free: 12.57 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.5615, allocations: 77.11 kB / 0.5504 GB, free: 12.47 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.5616, allocations: 4.547 kB / 0.5504 GB, free: 12.47 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5618, allocations: 11.92 kB / 0.5504 GB, free: 12.46 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.5618, allocations: 4 kB / 0.5504 GB, free: 12.45 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5618, allocations: 4 kB / 0.5504 GB, free: 12.45 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.5619, allocations: 79.27 kB / 0.5505 GB, free: 12.37 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5619, allocations: 3.938 kB / 0.5505 GB, free: 12.37 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.5622, allocations: 16.09 kB / 0.5505 GB, free: 12.35 MB / 395.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 () * 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 (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.0001744/0.5624, allocations: 95.25 kB / 0.5506 GB, free: 12.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.5626, allocations: 23.94 kB / 0.5506 GB, free: 12.23 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5626, allocations: 0 / 0.5506 GB, free: 12.23 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.5626, allocations: 19.98 kB / 0.5506 GB, free: 12.21 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.5628, allocations: 3.953 kB / 0.5506 GB, free: 12.2 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.5633, allocations: 114.5 kB / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5637, allocations: 0.6846 MB / 0.5514 GB, free: 11.35 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.5637, allocations: 11.44 kB / 0.5514 GB, free: 11.34 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5637, allocations: 0 / 0.5514 GB, free: 11.34 MB / 395.1 MB Notification: Performance of Templates: time 0.002762/0.5665, allocations: 0.6548 MB / 0.5521 GB, free: 10.68 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches