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.0009192/0.0009192, allocations: 182.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.209/1.209, 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.0007786/0.0007785, allocations: 90.55 kB / 267.1 MB, free: 9.273 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.3163/0.3163, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.22e-05, allocations: 8 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09667, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.3919, allocations: 83.91 MB / 0.5547 GB, free: 19.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.3921, allocations: 68.47 kB / 0.5548 GB, free: 19.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001433/0.3936, allocations: 0.6257 MB / 0.5554 GB, free: 18.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3936, allocations: 0 / 0.5554 GB, free: 18.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3936, allocations: 0 / 0.5554 GB, free: 18.68 MB / 394.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.0001515/0.3938, allocations: 312.9 kB / 0.5557 GB, free: 18.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3938, allocations: 8.031 kB / 0.5557 GB, free: 18.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3938, allocations: 4.688 kB / 0.5557 GB, free: 18.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.3939, allocations: 171.6 kB / 0.5559 GB, free: 18.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3939, allocations: 0 / 0.5559 GB, free: 18.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3939, allocations: 0 / 0.5559 GB, free: 18.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.097e-05/0.394, allocations: 39.25 kB / 0.5559 GB, free: 18.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.394, allocations: 0 / 0.5559 GB, free: 18.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3941, allocations: 0 / 0.5559 GB, free: 18.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3941, allocations: 5.375 kB / 0.5559 GB, free: 18.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.3941, allocations: 5.219 kB / 0.5559 GB, free: 18.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.3942, allocations: 155.8 kB / 0.5561 GB, free: 17.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3944, allocations: 36.3 kB / 0.5561 GB, free: 17.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.3944, allocations: 12.86 kB / 0.5561 GB, free: 17.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.3946, allocations: 120.7 kB / 0.5562 GB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.3947, allocations: 31.12 kB / 0.5563 GB, free: 17.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3947, allocations: 8 kB / 0.5563 GB, free: 17.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009349/0.3956, allocations: 160.3 kB / 0.5564 GB, free: 17.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3956, allocations: 56.16 kB / 0.5565 GB, free: 17.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.961e-05/0.3957, allocations: 89 kB / 0.5566 GB, free: 17.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.3957, allocations: 25.7 kB / 0.5566 GB, free: 17.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.3957, allocations: 80.94 kB / 0.5567 GB, free: 17.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3957, allocations: 11.92 kB / 0.5567 GB, free: 17.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.3958, allocations: 4 kB / 0.5567 GB, free: 17.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.3958, allocations: 316.4 kB / 0.557 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.3958, allocations: 14.38 kB / 0.557 GB, free: 16.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.3959, allocations: 11.98 kB / 0.557 GB, free: 16.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.3959, allocations: 16.72 kB / 0.557 GB, free: 16.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3959, allocations: 0 / 0.557 GB, free: 16.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.217e-05/0.396, allocations: 57.22 kB / 0.5571 GB, free: 16.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.396, allocations: 4 kB / 0.5571 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.396, allocations: 144 / 0.5571 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.396, allocations: 0 / 0.5571 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3962, allocations: 20.62 kB / 0.5571 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3962, allocations: 2.906 kB / 0.5571 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.3963, allocations: 19.34 kB / 0.5571 GB, free: 16.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3963, allocations: 0 / 0.5571 GB, free: 16.84 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 (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 4.659e-05/0.3963, allocations: 110.4 kB / 0.5572 GB, free: 16.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3963, allocations: 4 kB / 0.5572 GB, free: 16.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.3965, allocations: 73.33 kB / 0.5573 GB, free: 16.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3965, allocations: 4 kB / 0.5573 GB, free: 16.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3965, allocations: 0.7031 kB / 0.5573 GB, free: 16.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3965, allocations: 0 / 0.5573 GB, free: 16.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.397, allocations: 344.1 kB / 0.5576 GB, free: 16.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.397, allocations: 2.141 kB / 0.5576 GB, free: 16.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.3971, allocations: 20.11 kB / 0.5577 GB, free: 16.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3971, allocations: 0 / 0.5577 GB, free: 16.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3971, allocations: 0.6562 kB / 0.5577 GB, free: 16.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3972, allocations: 4 kB / 0.5577 GB, free: 16.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3972, allocations: 0 / 0.5577 GB, free: 16.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.3973, allocations: 178.9 kB / 0.5578 GB, free: 16.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3973, allocations: 77.77 kB / 0.5579 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3973, allocations: 6.094 kB / 0.5579 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3974, allocations: 6.156 kB / 0.5579 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.3975, allocations: 8.484 kB / 0.5579 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/0.3975, allocations: 0.7031 kB / 0.5579 GB, free: 15.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.644e-05/0.3975, allocations: 79.23 kB / 0.558 GB, free: 15.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3975, allocations: 0 / 0.558 GB, free: 15.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.3977, allocations: 20.25 kB / 0.558 GB, free: 15.9 MB / 394.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 () * 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.0001041/0.3978, allocations: 97.59 kB / 0.5581 GB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.3979, allocations: 38.44 kB / 0.5582 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3979, allocations: 0 / 0.5582 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.398, allocations: 13.27 kB / 0.5582 GB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.3981, allocations: 3.375 kB / 0.5582 GB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.3984, allocations: 96.73 kB / 0.5583 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.3985, allocations: 0.6773 MB / 0.5589 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3985, allocations: 8.75 kB / 0.5589 GB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.3986, allocations: 12.8 kB / 0.559 GB, free: 14.94 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3986, allocations: 0 / 0.559 GB, free: 14.94 MB / 394.7 MB Notification: Performance of Templates: time 0.002134/0.4007, allocations: 0.5947 MB / 0.5595 GB, free: 14.61 MB / 394.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