Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 103.9 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000942/0.000942, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2449, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002769/0.2477, allocations: 2.126 MB / 409.2 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.2486, allocations: 0.5647 MB / 409.7 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.2487, allocations: 11.88 kB / 409.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.2488, allocations: 11.86 kB / 409.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.2491, allocations: 55.62 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.2493, allocations: 50.56 kB / 409.9 MB, free: 25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.2495, allocations: 247.1 kB / 410.1 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2497, allocations: 64.67 kB / 410.2 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.2498, allocations: 99.39 kB / 410.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.25, allocations: 135.3 kB / 410.4 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.25, allocations: 12 kB / 410.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.83e-05/0.25, allocations: 12 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.2501, allocations: 55.64 kB / 410.5 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.2502, allocations: 107.2 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.2504, allocations: 224.6 kB / 410.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2504, allocations: 0 / 410.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2504, allocations: 0 / 410.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2504, allocations: 0 / 410.8 MB, free: 24.07 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.0009272/0.2513, allocations: 0.6033 MB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2514, allocations: 12.03 kB / 411.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.2514, allocations: 28.56 kB / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.2517, allocations: 312 kB / 411.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2518, allocations: 12.12 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2518, allocations: 16 kB / 411.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.252, allocations: 123.2 kB / 411.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.252, allocations: 0 / 411.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2521, allocations: 0 / 411.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2521, allocations: 4 kB / 411.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2522, allocations: 83.89 kB / 412 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.2529, allocations: 0.5274 MB / 412.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.2533, allocations: 172.6 kB / 412.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2535, allocations: 60.83 kB / 412.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.2535, allocations: 11.92 kB / 412.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2535, allocations: 38.5 kB / 412.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2535, allocations: 0 / 412.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001196/0.2547, allocations: 0.664 MB / 413.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2548, allocations: 51.41 kB / 413.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.255, allocations: 328.6 kB / 413.8 MB, free: 20.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2551, allocations: 33.7 kB / 413.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.2551, allocations: 156.3 kB / 414 MB, free: 20.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.2552, allocations: 71.02 kB / 414.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.2552, allocations: 37.7 kB / 414.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.2553, allocations: 334.8 kB / 414.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2554, allocations: 63.91 kB / 414.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.2555, allocations: 62.97 kB / 414.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.2557, allocations: 148.8 kB / 414.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.2557, allocations: 4 kB / 414.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002858/0.256, allocations: 212 kB / 414.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2561, allocations: 6.812 kB / 414.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2561, allocations: 3.984 kB / 414.9 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2561, allocations: 7.938 kB / 414.9 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2563, allocations: 55.91 kB / 415 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2564, allocations: 3.938 kB / 415 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2565, allocations: 11.98 kB / 415 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2565, allocations: 8 kB / 415 MB, free: 19.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.2566, allocations: 133.8 kB / 415.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.2567, allocations: 31.62 kB / 415.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.2571, allocations: 220.5 kB / 415.4 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2571, allocations: 7.984 kB / 415.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2571, allocations: 3.938 kB / 415.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2571, allocations: 0 / 415.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.2573, allocations: 317.4 kB / 415.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2574, allocations: 4 kB / 415.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.2577, allocations: 59.95 kB / 415.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2577, allocations: 4 kB / 415.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2577, allocations: 0 / 415.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2577, allocations: 0 / 415.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2577, allocations: 3.938 kB / 415.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.2611, allocations: 2.625 MB / 418.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.2612, allocations: 108.8 kB / 418.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.2612, allocations: 15.92 kB / 418.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2614, allocations: 4 kB / 418.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2615, allocations: 11.98 kB / 418.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2615, allocations: 7.984 kB / 418.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2617, allocations: 243.1 kB / 418.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2617, allocations: 4 kB / 418.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.262, allocations: 72 kB / 418.9 MB, free: 15.51 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 (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.0001033/0.2621, allocations: 107.2 kB / 419 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.2624, allocations: 159.7 kB / 419.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2624, allocations: 0 / 419.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2626, allocations: 90.55 kB / 419.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2629, allocations: 45.61 kB / 419.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2641, allocations: 0.9801 MB / 420.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2643, allocations: 0.7716 MB / 421 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2644, allocations: 39.27 kB / 421.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2646, allocations: 27.44 kB / 421.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.2646, allocations: 0 / 421.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005786/0.2703, allocations: 3.606 MB / 424.7 MB, free: 9.668 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches