Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001108/0.001108, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 43.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3536, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003817/0.3575, allocations: 2.077 MB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3586, allocations: 0.5457 MB / 403.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3587, allocations: 4 kB / 403.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3589, allocations: 23.67 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3592, allocations: 79.42 kB / 403.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3594, allocations: 59.91 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.3598, allocations: 259 kB / 403.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.36, allocations: 60.69 kB / 403.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.3601, allocations: 107.4 kB / 403.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3603, allocations: 135.3 kB / 404.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.3604, allocations: 20 kB / 404.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.3604, allocations: 20 kB / 404.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.3605, allocations: 59.7 kB / 404.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3606, allocations: 123.2 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3609, allocations: 236.1 kB / 404.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3609, allocations: 0 / 404.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3609, allocations: 0 / 404.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3609, allocations: 0 / 404.5 MB, free: 5.082 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001108/0.362, allocations: 0.5955 MB / 405.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3621, allocations: 12.03 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.3621, allocations: 28.56 kB / 405.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3625, allocations: 316 kB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3625, allocations: 16.12 kB / 405.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3626, allocations: 12 kB / 405.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3628, allocations: 117.6 kB / 405.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3629, allocations: 0 / 405.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3629, allocations: 8 kB / 405.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3629, allocations: 0 / 405.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.3631, allocations: 83.89 kB / 405.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.3639, allocations: 0.5274 MB / 406.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.3644, allocations: 170.8 kB / 406.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3645, allocations: 72.75 kB / 406.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3646, allocations: 7.938 kB / 406.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3646, allocations: 30.56 kB / 406.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3646, allocations: 0 / 406.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001616/0.3662, allocations: 0.6614 MB / 407.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3663, allocations: 51.41 kB / 407.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.3667, allocations: 336.5 kB / 407.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.3667, allocations: 29.7 kB / 407.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3668, allocations: 156.2 kB / 407.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.3669, allocations: 71.08 kB / 407.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.367, allocations: 37.7 kB / 407.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3672, allocations: 338.8 kB / 408.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3673, allocations: 59.91 kB / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3674, allocations: 65.09 kB / 408.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3677, allocations: 146.6 kB / 408.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3677, allocations: 0 / 408.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003732/0.3681, allocations: 220.2 kB / 408.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3681, allocations: 4 kB / 408.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3682, allocations: 0 / 408.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3682, allocations: 4 kB / 408.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.3685, allocations: 55.91 kB / 408.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3685, allocations: 3.938 kB / 408.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3687, allocations: 11.98 kB / 408.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3687, allocations: 4 kB / 408.7 MB, free: 0.6094 MB / 318.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 (21): * Single equations (assignments): 21 * 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.0001418/0.3688, allocations: 133.8 kB / 408.9 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3689, allocations: 23.72 kB / 408.9 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.3694, allocations: 224.5 kB / 409.1 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3694, allocations: 4 kB / 409.1 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3694, allocations: 3.938 kB / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3694, allocations: 0 / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.3698, allocations: 317.4 kB / 409.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3698, allocations: 4 kB / 409.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.3702, allocations: 67.89 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3702, allocations: 0 / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3702, allocations: 4 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3702, allocations: 7.938 kB / 409.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3702, allocations: 7.938 kB / 409.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.3708, allocations: 381.5 kB / 409.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.3709, allocations: 108.7 kB / 410 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.371, allocations: 8.062 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3711, allocations: 8 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.3712, allocations: 19.91 kB / 410 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3712, allocations: 4 kB / 410 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.3715, allocations: 247.1 kB / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3715, allocations: 0 / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3717, allocations: 44 kB / 410.3 MB, free: 14.92 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * 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 (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001392/0.3719, allocations: 123 kB / 410.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3722, allocations: 155.8 kB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3723, allocations: 0 / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3724, allocations: 83.91 kB / 410.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3728, allocations: 33.08 kB / 410.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3742, allocations: 0.7216 MB / 411.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3746, allocations: 0.7712 MB / 412.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3747, allocations: 30.27 kB / 412.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.3748, allocations: 27.44 kB / 412.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3748, allocations: 0 / 412.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.006227/0.381, allocations: 2.758 MB / 415 MB, free: 10.22 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches