Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.6 MB / 244.3 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008543/0.0008544, allocations: 100.8 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002057/0.0002057, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001604/0.2184, allocations: 1.716 MB / 409.2 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.2191, allocations: 0.5422 MB / 409.8 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.2192, allocations: 3.938 kB / 409.8 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.441e-05/0.2193, allocations: 11.86 kB / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.2195, allocations: 60.88 kB / 409.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.2197, allocations: 43.94 kB / 409.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.2199, allocations: 227.8 kB / 410.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.22, allocations: 47.92 kB / 410.1 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2202, allocations: 95.44 kB / 410.2 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2203, allocations: 113.1 kB / 410.4 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.2203, allocations: 12 kB / 410.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.2203, allocations: 12 kB / 410.4 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.2204, allocations: 51.69 kB / 410.4 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.2204, allocations: 64.97 kB / 410.5 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2206, allocations: 160.6 kB / 410.6 MB, free: 24.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2206, allocations: 0 / 410.6 MB, free: 24.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2206, allocations: 0 / 410.6 MB, free: 24.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2206, allocations: 0 / 410.6 MB, free: 24.69 MB / 298.7 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.000828/0.2214, allocations: 0.5682 MB / 411.2 MB, free: 24.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2215, allocations: 8.031 kB / 411.2 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.2215, allocations: 35.62 kB / 411.3 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.2218, allocations: 295 kB / 411.5 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2218, allocations: 8 kB / 411.6 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.2219, allocations: 12 kB / 411.6 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.2221, allocations: 129.5 kB / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2221, allocations: 0 / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2221, allocations: 4 kB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2221, allocations: 4 kB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.2223, allocations: 91.95 kB / 411.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.2229, allocations: 0.5196 MB / 412.3 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.2234, allocations: 182.6 kB / 412.5 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2235, allocations: 64.83 kB / 412.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2235, allocations: 4.25 kB / 412.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2235, allocations: 34.56 kB / 412.6 MB, free: 22.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.2235, allocations: 0 / 412.6 MB, free: 22.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001236/0.2248, allocations: 0.668 MB / 413.3 MB, free: 21.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.2248, allocations: 55.39 kB / 413.3 MB, free: 21.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2251, allocations: 332.6 kB / 413.6 MB, free: 21.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2251, allocations: 25.7 kB / 413.7 MB, free: 21.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2252, allocations: 160.3 kB / 413.8 MB, free: 21.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2252, allocations: 63.11 kB / 413.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.2252, allocations: 3.938 kB / 413.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2253, allocations: 346.8 kB / 414.2 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.2254, allocations: 60.34 kB / 414.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2255, allocations: 67.53 kB / 414.3 MB, free: 20.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.2256, allocations: 64.94 kB / 414.4 MB, free: 20.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2256, allocations: 7.984 kB / 414.4 MB, free: 20.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003106/0.226, allocations: 217.5 kB / 414.6 MB, free: 20.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.226, allocations: 4 kB / 414.6 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.226, allocations: 7.953 kB / 414.6 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.226, allocations: 0 / 414.6 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.2263, allocations: 63.89 kB / 414.7 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2263, allocations: 4 kB / 414.7 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2265, allocations: 8 kB / 414.7 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2265, allocations: 8 kB / 414.7 MB, free: 20.34 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.2266, allocations: 129.8 kB / 414.9 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.2266, allocations: 31.62 kB / 414.9 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.227, allocations: 220.5 kB / 415.1 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.227, allocations: 7.953 kB / 415.1 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.227, allocations: 0 / 415.1 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.227, allocations: 4 kB / 415.1 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2272, allocations: 321.4 kB / 415.4 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2272, allocations: 0 / 415.4 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.2276, allocations: 59.89 kB / 415.5 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2276, allocations: 7.938 kB / 415.5 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.2276, allocations: 7.984 kB / 415.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2276, allocations: 3.984 kB / 415.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2277, allocations: 3.953 kB / 415.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2281, allocations: 395.3 kB / 415.9 MB, free: 19.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.2282, allocations: 104.9 kB / 416 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2282, allocations: 0 / 416 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2284, allocations: 16.11 kB / 416 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2285, allocations: 23.84 kB / 416 MB, free: 18.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2285, allocations: 8 kB / 416 MB, free: 18.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2287, allocations: 247 kB / 416.3 MB, free: 18.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2287, allocations: 0 / 416.3 MB, free: 18.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.2289, allocations: 40 kB / 416.3 MB, free: 18.65 MB / 298.7 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 (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 8.83e-05/0.229, allocations: 107.2 kB / 416.4 MB, free: 18.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2293, allocations: 162.5 kB / 416.6 MB, free: 18.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2293, allocations: 0 / 416.6 MB, free: 18.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2294, allocations: 83.91 kB / 416.7 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.2298, allocations: 37.17 kB / 416.7 MB, free: 18.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2309, allocations: 0.8769 MB / 417.6 MB, free: 17.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.231, allocations: 0.7638 MB / 418.3 MB, free: 16.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.2311, allocations: 31.42 kB / 418.4 MB, free: 16.53 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2311, allocations: 0 / 418.4 MB, free: 16.53 MB / 298.7 MB Notification: Performance of Templates: time 0.0036/0.2347, allocations: 3.04 MB / 421.4 MB, free: 13.5 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches