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.001261/0.001261, allocations: 115.8 kB / 17.74 MB, free: 5.355 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.001346/0.001346, allocations: 185.5 kB / 18.67 MB, free: 4.434 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009993/0.0009993, allocations: 44.03 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.303, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003587/0.3066, allocations: 2.08 MB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3077, allocations: 0.5495 MB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3078, allocations: 4 kB / 404.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3079, allocations: 27.67 kB / 404.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.3082, allocations: 75.42 kB / 404.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3084, allocations: 55.92 kB / 404.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.3088, allocations: 263 kB / 404.5 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3089, allocations: 48.73 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3091, allocations: 115.4 kB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3093, allocations: 135.2 kB / 404.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.3093, allocations: 20 kB / 404.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.3094, allocations: 20 kB / 404.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.3095, allocations: 59.69 kB / 404.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3096, allocations: 123.2 kB / 405 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3099, allocations: 234.8 kB / 405.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3099, allocations: 0 / 405.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3099, allocations: 0 / 405.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3099, allocations: 0 / 405.2 MB, free: 5.094 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.001099/0.311, allocations: 0.6037 MB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.311, allocations: 8.031 kB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.3111, allocations: 32.56 kB / 405.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3115, allocations: 312 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3116, allocations: 16.12 kB / 406.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.3116, allocations: 12 kB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3119, allocations: 121.6 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3119, allocations: 0 / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3119, allocations: 4 kB / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3119, allocations: 4 kB / 406.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.3121, allocations: 79.89 kB / 406.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.3131, allocations: 0.5236 MB / 406.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.3137, allocations: 174.7 kB / 407.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3139, allocations: 64.78 kB / 407.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3139, allocations: 11.86 kB / 407.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3139, allocations: 34.56 kB / 407.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.314, allocations: 0 / 407.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001711/0.3157, allocations: 0.6558 MB / 407.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3157, allocations: 55.41 kB / 407.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.3162, allocations: 332.6 kB / 408.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3162, allocations: 25.7 kB / 408.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3164, allocations: 164.2 kB / 408.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.3164, allocations: 59.11 kB / 408.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.3165, allocations: 37.7 kB / 408.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3168, allocations: 342.8 kB / 408.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3169, allocations: 63.92 kB / 408.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.317, allocations: 61.47 kB / 409 MB, free: 1.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.3173, allocations: 146.8 kB / 409.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3174, allocations: 0 / 409.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004247/0.3178, allocations: 213.2 kB / 409.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3178, allocations: 11.94 kB / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3178, allocations: 0 / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3178, allocations: 0 / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.3181, allocations: 63.89 kB / 409.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3182, allocations: 7.938 kB / 409.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3183, allocations: 4 kB / 409.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3183, allocations: 8 kB / 409.4 MB, free: 0.6172 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.0001832/0.3185, allocations: 129.8 kB / 409.5 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.3186, allocations: 23.72 kB / 409.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.319, allocations: 224.5 kB / 409.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.319, allocations: 4 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3191, allocations: 3.938 kB / 409.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3191, allocations: 4 kB / 409.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.3195, allocations: 325.4 kB / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3195, allocations: 0 / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.3198, allocations: 59.95 kB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3198, allocations: 0 / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3199, allocations: 11.98 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3199, allocations: 7.875 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3199, allocations: 3.938 kB / 410.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.3205, allocations: 383 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.3206, allocations: 104.8 kB / 410.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.3207, allocations: 12 kB / 410.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3209, allocations: 7.984 kB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.3209, allocations: 11.92 kB / 410.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.321, allocations: 8 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3212, allocations: 247 kB / 410.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3213, allocations: 0 / 410.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3215, allocations: 44 kB / 411 MB, free: 14.93 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.0001567/0.3217, allocations: 111.1 kB / 411.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.3221, allocations: 165.4 kB / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3221, allocations: 0 / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3223, allocations: 83.91 kB / 411.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3227, allocations: 40.67 kB / 411.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3241, allocations: 0.7516 MB / 412.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3245, allocations: 0.7673 MB / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3246, allocations: 27.44 kB / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3246, allocations: 0 / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.005625/0.3303, allocations: 3.117 MB / 416 MB, free: 9.82 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