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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 181.7 kB / 15.76 MB, free: 6.363 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.49/1.49, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008629/0.0008629, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2072/0.2072, allocations: 43.57 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3505/0.473, allocations: 83.99 MB / 0.5608 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.4732, allocations: 63.09 kB / 0.5608 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001594/0.4748, allocations: 0.6243 MB / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4748, allocations: 0 / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4748, allocations: 0 / 0.5614 GB, free: 15.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002672/0.4751, allocations: 319.4 kB / 0.5617 GB, free: 14.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4752, allocations: 16.02 kB / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.4752, allocations: 0 / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4753, allocations: 171 kB / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4753, allocations: 0 / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.4754, allocations: 7.438 kB / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.4755, allocations: 33.64 kB / 0.562 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4755, allocations: 0 / 0.562 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4755, allocations: 0 / 0.562 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4755, allocations: 4 kB / 0.562 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.4756, allocations: 11.36 kB / 0.562 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.4757, allocations: 153 kB / 0.5621 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4759, allocations: 34.78 kB / 0.5622 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.4762, allocations: 121.2 kB / 0.5623 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4763, allocations: 34.5 kB / 0.5623 GB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4763, allocations: 0 / 0.5623 GB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001342/0.4776, allocations: 213 kB / 0.5625 GB, free: 13.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.4777, allocations: 51.41 kB / 0.5626 GB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.4777, allocations: 89 kB / 0.5626 GB, free: 13.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4777, allocations: 25.7 kB / 0.5627 GB, free: 13.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.4778, allocations: 83.58 kB / 0.5627 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.4778, allocations: 23.22 kB / 0.5628 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.4778, allocations: 3.938 kB / 0.5628 GB, free: 13.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.478, allocations: 318.2 kB / 0.5631 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.4781, allocations: 23.42 kB / 0.5631 GB, free: 13.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.4781, allocations: 23.97 kB / 0.5631 GB, free: 13.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.4782, allocations: 26.45 kB / 0.5631 GB, free: 13.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4782, allocations: 3.984 kB / 0.5632 GB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.4784, allocations: 80.23 kB / 0.5632 GB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4785, allocations: 4 kB / 0.5632 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4785, allocations: 0 / 0.5632 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4785, allocations: 0 / 0.5632 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4786, allocations: 23.36 kB / 0.5633 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4786, allocations: 8 kB / 0.5633 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.4787, allocations: 7.984 kB / 0.5633 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4787, allocations: 288 / 0.5633 GB, free: 13.06 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.4788, allocations: 113.8 kB / 0.5634 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.4789, allocations: 7.281 kB / 0.5634 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.4791, allocations: 100.5 kB / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4791, allocations: 0 / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4792, allocations: 0 / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4792, allocations: 4 kB / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.4799, allocations: 368.2 kB / 0.5638 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4799, allocations: 0 / 0.5638 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.48, allocations: 19.92 kB / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.48, allocations: 4.031 kB / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.48, allocations: 0.5 kB / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4801, allocations: 4 kB / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4801, allocations: 0 / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.4803, allocations: 197.8 kB / 0.5641 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4804, allocations: 81.09 kB / 0.5641 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4804, allocations: 4 kB / 0.5641 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4805, allocations: 7.938 kB / 0.5641 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.4805, allocations: 11.73 kB / 0.5642 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4805, allocations: 3.938 kB / 0.5642 GB, free: 12.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.498e-05/0.4806, allocations: 79.28 kB / 0.5642 GB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4806, allocations: 0 / 0.5642 GB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.4808, allocations: 15.95 kB / 0.5642 GB, free: 11.98 MB / 378.7 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 (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.0001402/0.481, allocations: 98.88 kB / 0.5643 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4812, allocations: 55.64 kB / 0.5644 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4812, allocations: 4.094 kB / 0.5644 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.4813, allocations: 31.23 kB / 0.5644 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.4814, allocations: 7.438 kB / 0.5644 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.4819, allocations: 150.1 kB / 0.5646 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4822, allocations: 0.6809 MB / 0.5652 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.4822, allocations: 8 kB / 0.5653 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.4823, allocations: 7.438 kB / 0.5653 GB, free: 10.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4823, allocations: 0 / 0.5653 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Templates: time 0.002516/0.4848, allocations: 0.5947 MB / 0.5658 GB, free: 10.32 MB / 378.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches