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.001322/0.001322, allocations: 107.2 kB / 17.74 MB, free: 5.316 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.001433/0.001433, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 47.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3541, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004203/0.3584, allocations: 2.084 MB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3598, allocations: 0.5496 MB / 404 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.36, allocations: 4 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3603, allocations: 23.67 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.3608, allocations: 75.42 kB / 404.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.361, allocations: 59.91 kB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.3615, allocations: 255 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.3617, allocations: 60.7 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3619, allocations: 107.4 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3622, allocations: 135.3 kB / 404.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.3622, allocations: 20 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.3623, allocations: 20 kB / 404.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3624, allocations: 63.69 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3625, allocations: 123.1 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3629, allocations: 228.2 kB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3629, allocations: 0 / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3629, allocations: 0 / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3629, allocations: 0 / 405.2 MB, free: 5.039 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.001298/0.3642, allocations: 0.611 MB / 405.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3643, allocations: 8.031 kB / 405.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3644, allocations: 32.56 kB / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3649, allocations: 316 kB / 406.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.365, allocations: 8.125 kB / 406.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.365, allocations: 12 kB / 406.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3653, allocations: 121.6 kB / 406.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3653, allocations: 3.938 kB / 406.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3653, allocations: 4 kB / 406.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3653, allocations: 8 kB / 406.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3655, allocations: 71.95 kB / 406.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.3665, allocations: 0.5236 MB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.367, allocations: 178.7 kB / 407.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3672, allocations: 60.81 kB / 407.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3672, allocations: 7.938 kB / 407.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3672, allocations: 38.5 kB / 407.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.464e-06/0.3672, allocations: 4 kB / 407.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001605/0.3689, allocations: 0.6536 MB / 407.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3689, allocations: 55.41 kB / 407.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3693, allocations: 332.6 kB / 408.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3694, allocations: 29.7 kB / 408.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3695, allocations: 160.2 kB / 408.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.3696, allocations: 59.09 kB / 408.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.3696, allocations: 37.7 kB / 408.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3698, allocations: 338.8 kB / 408.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3699, allocations: 63.91 kB / 408.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3701, allocations: 69.22 kB / 409 MB, free: 1.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3703, allocations: 143.1 kB / 409.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3704, allocations: 0 / 409.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003688/0.3707, allocations: 213.2 kB / 409.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3708, allocations: 7.984 kB / 409.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3708, allocations: 0 / 409.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3708, allocations: 0 / 409.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3711, allocations: 63.91 kB / 409.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3711, allocations: 7.938 kB / 409.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3713, allocations: 11.98 kB / 409.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3713, allocations: 4 kB / 409.4 MB, free: 0.5586 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.0001409/0.3715, allocations: 125.8 kB / 409.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.3716, allocations: 23.72 kB / 409.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.372, allocations: 232.5 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.372, allocations: 0 / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.372, allocations: 3.938 kB / 409.8 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3721, allocations: 8 kB / 409.8 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.3725, allocations: 321.4 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3725, allocations: 0 / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.3729, allocations: 63.89 kB / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3729, allocations: 0 / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.373, allocations: 4 kB / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.373, allocations: 0 / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.373, allocations: 7.875 kB / 410.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.3736, allocations: 389.7 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.3737, allocations: 108.8 kB / 410.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.3738, allocations: 8 kB / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.374, allocations: 8 kB / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.374, allocations: 11.92 kB / 410.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3741, allocations: 7.984 kB / 410.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.3743, allocations: 243.1 kB / 410.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3743, allocations: 8 kB / 410.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.3747, allocations: 44 kB / 411 MB, free: 14.87 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.0001323/0.3748, allocations: 111.1 kB / 411.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3752, allocations: 163 kB / 411.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3752, allocations: 0 / 411.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3754, allocations: 83.91 kB / 411.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3758, allocations: 40.73 kB / 411.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3773, allocations: 0.7438 MB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3778, allocations: 0.7712 MB / 412.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3779, allocations: 31.42 kB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3779, allocations: 0 / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.006188/0.3841, allocations: 3.159 MB / 416.1 MB, free: 9.727 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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