Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,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.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,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.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.0009661, allocations: 97.94 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002652, allocations: 4 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2322, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09714/0.3294, allocations: 79 MB / 480.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3297, allocations: 75.95 kB / 480.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.3401, allocations: 3.696 MB / 484.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3402, allocations: 3.938 kB / 484.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3402, allocations: 4 kB / 484.3 MB, free: 13.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008619/0.3411, allocations: 0.584 MB / 484.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3411, allocations: 8.031 kB / 484.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.3412, allocations: 39.52 kB / 484.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3416, allocations: 307.2 kB / 485.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3416, allocations: 8.281 kB / 485.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.3416, allocations: 19.91 kB / 485.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.3423, allocations: 367.5 kB / 485.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3423, allocations: 0 / 485.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3423, allocations: 7.953 kB / 485.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3423, allocations: 4 kB / 485.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3425, allocations: 99.89 kB / 485.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.3432, allocations: 0.5211 MB / 486.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.3438, allocations: 320.6 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3439, allocations: 8.016 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3439, allocations: 38.56 kB / 486.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.3439, allocations: 0 / 486.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002062/0.346, allocations: 1.251 MB / 487.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.3461, allocations: 138.7 kB / 488 MB, free: 9.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.3464, allocations: 295.9 kB / 488.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3464, allocations: 33.64 kB / 488.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.3465, allocations: 152.6 kB / 488.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.3466, allocations: 43.53 kB / 488.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.3466, allocations: 12 kB / 488.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3467, allocations: 346.8 kB / 488.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3468, allocations: 60.84 kB / 488.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3471, allocations: 286.3 kB / 489.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3473, allocations: 125.4 kB / 489.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3473, allocations: 4 kB / 489.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005165/0.3478, allocations: 381.4 kB / 489.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3478, allocations: 11.12 kB / 489.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3478, allocations: 8 kB / 489.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.3479, allocations: 12 kB / 489.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3481, allocations: 95.77 kB / 489.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.3481, allocations: 15.94 kB / 489.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3483, allocations: 16 kB / 489.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3484, allocations: 27.92 kB / 489.8 MB, free: 7.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001567/0.3485, allocations: 165.6 kB / 490 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.3489, allocations: 277.1 kB / 490.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.3495, allocations: 344.5 kB / 490.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3495, allocations: 4 kB / 490.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3496, allocations: 8.062 kB / 490.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3496, allocations: 3.984 kB / 490.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.3499, allocations: 317.3 kB / 490.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3499, allocations: 3.953 kB / 490.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.3505, allocations: 123.8 kB / 491.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3505, allocations: 4 kB / 491.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3505, allocations: 12 kB / 491.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3505, allocations: 3.984 kB / 491.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3505, allocations: 0 / 491.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.3514, allocations: 0.7088 MB / 491.8 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.3515, allocations: 112.7 kB / 491.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3515, allocations: 8 kB / 491.9 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3518, allocations: 16 kB / 491.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3518, allocations: 11.98 kB / 491.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3518, allocations: 8 kB / 491.9 MB, free: 5.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3521, allocations: 243.1 kB / 492.2 MB, free: 5.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3521, allocations: 0 / 492.2 MB, free: 5.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.3525, allocations: 63.98 kB / 492.2 MB, free: 5.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001369/0.3526, allocations: 115.2 kB / 492.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.3531, allocations: 277.4 kB / 492.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3531, allocations: 0 / 492.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.3532, allocations: 32.11 kB / 492.7 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.3537, allocations: 204.8 kB / 492.9 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3549, allocations: 0.8291 MB / 493.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3552, allocations: 0.8112 MB / 494.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.815e-05/0.3553, allocations: 35.27 kB / 494.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3554, allocations: 27.44 kB / 494.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3554, allocations: 0 / 494.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of Templates: time 0.005943/0.3614, allocations: 3.002 MB / 497.6 MB, free: 15.73 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches