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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 115.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 206.7 kB / 19.41 MB, free: 3.645 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.439/1.439, allocations: 227.7 MB / 247.9 MB, free: 10.2 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.001905/0.001905, allocations: 63.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.229, allocations: 50.54 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003146/0.2321, allocations: 2.092 MB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.2331, allocations: 0.573 MB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2332, allocations: 4 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2333, allocations: 27.61 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.2335, allocations: 71.48 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2337, allocations: 59.86 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.234, allocations: 259.1 kB / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2341, allocations: 44.72 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2343, allocations: 111.4 kB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2345, allocations: 135.3 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2346, allocations: 20 kB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.225e-05/0.2346, allocations: 20 kB / 413.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.2347, allocations: 63.64 kB / 413.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2348, allocations: 123.2 kB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.2351, allocations: 238.6 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2351, allocations: 3.938 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2351, allocations: 0 / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2351, allocations: 0 / 414 MB, free: 13.59 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.001025/0.2361, allocations: 0.5993 MB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2361, allocations: 12.03 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.2362, allocations: 28.75 kB / 414.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2366, allocations: 312.3 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2366, allocations: 16.06 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.2366, allocations: 19.98 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.2369, allocations: 121.6 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2369, allocations: 3.938 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2369, allocations: 11.94 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2369, allocations: 0 / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.2371, allocations: 79.89 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.238, allocations: 0.5198 MB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.2385, allocations: 178.7 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.2386, allocations: 56.83 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2386, allocations: 7.938 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2386, allocations: 34.56 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2386, allocations: 0 / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00149/0.2401, allocations: 0.6641 MB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2402, allocations: 55.34 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.2405, allocations: 340.5 kB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2406, allocations: 29.7 kB / 417.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2407, allocations: 156.3 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.2408, allocations: 59.48 kB / 417.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.2408, allocations: 41.7 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.241, allocations: 342.8 kB / 417.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2411, allocations: 55.92 kB / 417.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.2413, allocations: 65.47 kB / 417.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.2415, allocations: 140 kB / 417.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2415, allocations: 0 / 417.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003667/0.2419, allocations: 213.4 kB / 418.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2419, allocations: 11.94 kB / 418.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2419, allocations: 0 / 418.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2419, allocations: 4 kB / 418.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.2422, allocations: 59.95 kB / 418.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2422, allocations: 3.938 kB / 418.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2424, allocations: 8 kB / 418.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2424, allocations: 4 kB / 418.2 MB, free: 9.117 MB / 334.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.0001292/0.2425, allocations: 141.7 kB / 418.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.2426, allocations: 35.8 kB / 418.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.243, allocations: 216.6 kB / 418.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.243, allocations: 4 kB / 418.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.243, allocations: 3.938 kB / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.243, allocations: 0 / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.2434, allocations: 329.3 kB / 419 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2434, allocations: 4 kB / 419 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.2438, allocations: 59.89 kB / 419 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2438, allocations: 11.94 kB / 419 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2438, allocations: 7.984 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2438, allocations: 4 kB / 419 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2438, allocations: 3.938 kB / 419.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.2444, allocations: 382.6 kB / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.2445, allocations: 109 kB / 419.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.2445, allocations: 4 kB / 419.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2447, allocations: 15.92 kB / 419.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.2447, allocations: 19.92 kB / 419.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2448, allocations: 4 kB / 419.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.245, allocations: 247 kB / 419.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.245, allocations: 0 / 419.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.2453, allocations: 48 kB / 419.9 MB, free: 7.402 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.0001236/0.2454, allocations: 99.25 kB / 420 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.2458, allocations: 151.9 kB / 420.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2458, allocations: 0 / 420.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2459, allocations: 79.89 kB / 420.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2463, allocations: 29.75 kB / 420.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2476, allocations: 0.7173 MB / 420.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.248, allocations: 0.7635 MB / 421.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.2481, allocations: 30.28 kB / 421.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.2482, allocations: 27.42 kB / 421.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2482, allocations: 0 / 421.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Templates: time 0.006618/0.2548, allocations: 2.78 MB / 424.5 MB, free: 2.715 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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) Reference file matches