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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 166.3 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9767/0.9767, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] 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) 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=5002,variableFilter="time|filter.x.[0-9,]+.|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=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.481e-05, allocations: 5.406 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002554/0.002578, allocations: 2.049 MB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000933/0.003511, allocations: 0.5844 MB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.003624, allocations: 0 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.003749, allocations: 27.67 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.004002, allocations: 83.3 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.004202, allocations: 55.91 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004457, allocations: 271 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.004567, allocations: 46.8 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.004824, allocations: 159.4 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.004957, allocations: 91.62 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.004986, allocations: 20 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.37e-05/0.00501, allocations: 20 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.005084, allocations: 63.62 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.00514, allocations: 71.69 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.005318, allocations: 159.3 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005321, allocations: 0 / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005322, allocations: 0 / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005326, allocations: 3.938 kB / 277.1 MB, free: 13.37 MB / 266.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.0006129/0.005939, allocations: 0.4953 MB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005976, allocations: 11.98 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.006024, allocations: 20.92 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.006247, allocations: 222.5 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.00626, allocations: 8.375 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.006289, allocations: 20.33 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.00643, allocations: 89.69 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.00644, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006452, allocations: 8 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.006457, allocations: 0 / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.006506, allocations: 27.97 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.006961, allocations: 282.7 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.007195, allocations: 126.4 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.007234, allocations: 24.84 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.007251, allocations: 4 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.007272, allocations: 34.56 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.007273, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008228/0.008096, allocations: 437 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.008126, allocations: 55.41 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.008274, allocations: 275 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.008291, allocations: 33.7 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.008342, allocations: 128.9 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.008387, allocations: 67.42 kB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.008429, allocations: 37.69 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.008515, allocations: 342.8 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.008546, allocations: 19.98 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.008577, allocations: 16 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.008662, allocations: 72.06 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008663, allocations: 0 / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001196/0.008783, allocations: 109.6 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.008797, allocations: 19.88 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008802, allocations: 0 / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.008813, allocations: 0 / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.008956, allocations: 55.95 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.008959, allocations: 0 / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.009012, allocations: 8 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.00902, allocations: 4 kB / 280.1 MB, free: 10.18 MB / 266.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 7.354e-05/0.009094, allocations: 116.6 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.009126, allocations: 31.91 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.009293, allocations: 132.6 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009296, allocations: 0 / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.009297, allocations: 4 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.0093, allocations: 0 / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.00946, allocations: 153.7 kB / 280.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009462, allocations: 3.938 kB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.009631, allocations: 55.95 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.009634, allocations: 0 / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.009647, allocations: 4 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.00965, allocations: 11.94 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009651, allocations: 0 / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.009876, allocations: 253.1 kB / 280.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.009909, allocations: 27.8 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.009932, allocations: 4 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.01001, allocations: 11.94 kB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.01004, allocations: 11.97 kB / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.01005, allocations: 4.062 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.01013, allocations: 116.6 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01013, allocations: 0 / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.01029, allocations: 48 kB / 281.1 MB, free: 9.156 MB / 266.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.0001392/0.01043, allocations: 84.42 kB / 281.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.01055, allocations: 76.77 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.01056, allocations: 4 kB / 281.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.01061, allocations: 56.66 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01082, allocations: 35.97 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.01167, allocations: 0.5477 MB / 281.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01172, allocations: 92.25 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.702e-05/0.01179, allocations: 26.27 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.0119, allocations: 91.36 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0119, allocations: 0 / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of Templates: time 0.004846/0.01675, allocations: 2.997 MB / 285.1 MB, free: 5.172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7724426109343767]