Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00165/0.00165, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 75.81 kB / 369 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 53.31 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003637/0.3033, allocations: 2.097 MB / 424.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3046, allocations: 0.5768 MB / 425 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3047, allocations: 0 / 425 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3049, allocations: 23.67 kB / 425 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3052, allocations: 79.42 kB / 425.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.3054, allocations: 55.86 kB / 425.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3058, allocations: 255.2 kB / 425.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3059, allocations: 48.64 kB / 425.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.3061, allocations: 111.4 kB / 425.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3063, allocations: 143.2 kB / 425.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.3064, allocations: 20 kB / 425.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.3064, allocations: 20 kB / 425.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.3065, allocations: 59.7 kB / 425.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3066, allocations: 123.2 kB / 425.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3069, allocations: 242.3 kB / 426.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3069, allocations: 0 / 426.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3069, allocations: 0 / 426.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.307, allocations: 0 / 426.1 MB, free: 3.984 MB / 334.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.001124/0.3081, allocations: 0.6032 MB / 426.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3081, allocations: 12.03 kB / 426.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.3082, allocations: 32.73 kB / 426.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.3086, allocations: 308.3 kB / 427.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3086, allocations: 12.12 kB / 427.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.3086, allocations: 15.98 kB / 427.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3089, allocations: 121.6 kB / 427.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3089, allocations: 4 kB / 427.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.309, allocations: 4 kB / 427.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.309, allocations: 0 / 427.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.3092, allocations: 83.89 kB / 427.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3102, allocations: 0.5237 MB / 427.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.3108, allocations: 174.8 kB / 428 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3109, allocations: 60.83 kB / 428.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3109, allocations: 3.938 kB / 428.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.311, allocations: 34.56 kB / 428.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.311, allocations: 0 / 428.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001741/0.3127, allocations: 0.6657 MB / 428.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3127, allocations: 55.41 kB / 428.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3131, allocations: 336.5 kB / 429.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3132, allocations: 25.7 kB / 429.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3133, allocations: 160.3 kB / 429.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.3134, allocations: 63.47 kB / 429.4 MB, free: 480 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.3135, allocations: 37.7 kB / 429.4 MB, free: 436 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3136, allocations: 342.8 kB / 429.8 MB, free: 84 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3138, allocations: 59.92 kB / 429.8 MB, free: 24 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3139, allocations: 60.05 kB / 429.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3142, allocations: 154.6 kB / 430 MB, free: 15.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3142, allocations: 4 kB / 430 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003712/0.3146, allocations: 216 kB / 430.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3146, allocations: 8 kB / 430.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3146, allocations: 0 / 430.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3146, allocations: 0 / 430.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3149, allocations: 55.95 kB / 430.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3149, allocations: 7.938 kB / 430.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3151, allocations: 8 kB / 430.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3151, allocations: 0 / 430.3 MB, free: 15.51 MB / 350.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.0001346/0.3152, allocations: 141.8 kB / 430.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.3153, allocations: 27.81 kB / 430.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.3157, allocations: 224.5 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3157, allocations: 0 / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.3157, allocations: 7.875 kB / 430.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3158, allocations: 3.984 kB / 430.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.3161, allocations: 321.3 kB / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3161, allocations: 0 / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.3165, allocations: 63.95 kB / 431.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3165, allocations: 0 / 431.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3165, allocations: 11.98 kB / 431.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3165, allocations: 0 / 431.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3165, allocations: 3.938 kB / 431.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.3172, allocations: 389.7 kB / 431.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.3173, allocations: 113 kB / 431.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.3173, allocations: 4 kB / 431.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3175, allocations: 12.11 kB / 431.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.3176, allocations: 15.92 kB / 431.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3176, allocations: 8 kB / 431.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.3178, allocations: 247 kB / 431.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 0 / 431.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3181, allocations: 44 kB / 431.9 MB, free: 13.81 MB / 350.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.000129/0.3182, allocations: 107.2 kB / 432 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.3186, allocations: 143.9 kB / 432.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3186, allocations: 0 / 432.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3188, allocations: 83.89 kB / 432.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3191, allocations: 40.11 kB / 432.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3205, allocations: 0.7133 MB / 433 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3209, allocations: 0.7635 MB / 433.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.321, allocations: 34.27 kB / 433.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.3211, allocations: 35.42 kB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3211, allocations: 0 / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Templates: time 0.00675/0.3278, allocations: 2.807 MB / 436.6 MB, free: 9.078 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches