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.0009636/0.0009636, allocations: 193 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008224/0.0008227, allocations: 95.47 kB / 296.8 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002486, allocations: 7.984 kB / 356.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2352, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001788/0.2371, allocations: 1.719 MB / 409.8 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.2379, allocations: 0.5333 MB / 410.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.238, allocations: 4.469 kB / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.2381, allocations: 15.86 kB / 410.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.2384, allocations: 57.61 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.2385, allocations: 47.88 kB / 410.4 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.2388, allocations: 231.1 kB / 410.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2389, allocations: 52 kB / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2391, allocations: 96.11 kB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2392, allocations: 112.4 kB / 410.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.2393, allocations: 8 kB / 410.9 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.2393, allocations: 12.88 kB / 410.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.2394, allocations: 51.69 kB / 411 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.2395, allocations: 127.9 kB / 411.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2396, allocations: 168.5 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2396, allocations: 0 / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2396, allocations: 0 / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2396, allocations: 0 / 411.3 MB, free: 24.5 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.0008822/0.2405, allocations: 0.5604 MB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2406, allocations: 9.469 kB / 411.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2407, allocations: 40.5 kB / 411.9 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.241, allocations: 308 kB / 412.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.241, allocations: 16.12 kB / 412.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.241, allocations: 12 kB / 412.2 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2413, allocations: 121.6 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2413, allocations: 0 / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.2413, allocations: 4 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2413, allocations: 4 kB / 412.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2415, allocations: 83.94 kB / 412.4 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.2422, allocations: 0.5313 MB / 413 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.2427, allocations: 178.7 kB / 413.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2428, allocations: 68.77 kB / 413.2 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2428, allocations: 3.938 kB / 413.2 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2429, allocations: 34.56 kB / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2429, allocations: 0 / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001321/0.2442, allocations: 0.6774 MB / 413.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.2442, allocations: 55.41 kB / 414 MB, free: 21.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.2445, allocations: 328.6 kB / 414.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2446, allocations: 29.7 kB / 414.3 MB, free: 21.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.2446, allocations: 152.3 kB / 414.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.2447, allocations: 67.08 kB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.2447, allocations: 4 kB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.2447, allocations: 342.8 kB / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2449, allocations: 63.91 kB / 414.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.245, allocations: 62.78 kB / 415 MB, free: 20.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.2452, allocations: 144.8 kB / 415.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2453, allocations: 0 / 415.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003228/0.2456, allocations: 220.2 kB / 415.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2456, allocations: 4 kB / 415.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2456, allocations: 3.984 kB / 415.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2456, allocations: 4 kB / 415.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2459, allocations: 55.97 kB / 415.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2459, allocations: 7.938 kB / 415.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2461, allocations: 11.98 kB / 415.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2461, allocations: 8 kB / 415.4 MB, free: 20.07 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 9.664e-05/0.2462, allocations: 129.8 kB / 415.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.2463, allocations: 27.62 kB / 415.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.2467, allocations: 220.6 kB / 415.8 MB, free: 19.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2467, allocations: 3.984 kB / 415.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2467, allocations: 7.875 kB / 415.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2467, allocations: 4 kB / 415.8 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.247, allocations: 329.4 kB / 416.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.247, allocations: 0 / 416.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.2473, allocations: 55.95 kB / 416.2 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2474, allocations: 0 / 416.2 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2474, allocations: 11.94 kB / 416.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2474, allocations: 0 / 416.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2474, allocations: 7.938 kB / 416.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.2479, allocations: 398.1 kB / 416.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.248, allocations: 108.9 kB / 416.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.248, allocations: 0 / 416.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2482, allocations: 8 kB / 416.7 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2483, allocations: 15.92 kB / 416.7 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2483, allocations: 11.98 kB / 416.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.2485, allocations: 243.1 kB / 417 MB, free: 18.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2485, allocations: 0 / 417 MB, free: 18.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.2488, allocations: 44 kB / 417 MB, free: 18.38 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 0.0001146/0.2489, allocations: 103.2 kB / 417.1 MB, free: 18.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.2492, allocations: 159.8 kB / 417.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2492, allocations: 4 kB / 417.3 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.2494, allocations: 87.89 kB / 417.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2498, allocations: 37.08 kB / 417.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.251, allocations: 0.8653 MB / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2512, allocations: 0.7677 MB / 419 MB, free: 16.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.2513, allocations: 23.44 kB / 419.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2513, allocations: 4 kB / 419.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004251/0.2556, allocations: 3.061 MB / 422.1 MB, free: 13.22 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