Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007984, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009767/0.001775, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006376/0.0006376, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009324/0.00157, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.806/0.806, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.135/0.941, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.423e-05, allocations: 4.5 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00313/0.003144, allocations: 2.09 MB / 241.8 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.004094, allocations: 0.5717 MB / 242.4 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004195, allocations: 0 / 242.4 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.791e-05/0.004283, allocations: 27.67 kB / 242.4 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.004503, allocations: 80.16 kB / 242.5 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.0047, allocations: 61.08 kB / 242.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.005008, allocations: 263 kB / 242.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.00512, allocations: 35.86 kB / 242.9 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.005443, allocations: 228.5 kB / 243.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.005604, allocations: 96.27 kB / 243.2 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.005648, allocations: 20 kB / 243.2 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.005682, allocations: 16.91 kB / 243.2 MB, free: 2.875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.005753, allocations: 43.81 kB / 243.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.005822, allocations: 53.59 kB / 243.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.006023, allocations: 143.3 kB / 243.5 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.006033, allocations: 3.938 kB / 243.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006034, allocations: 0 / 243.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.006046, allocations: 0 / 243.5 MB, free: 2.637 MB / 234.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.0008231/0.006869, allocations: 0.5308 MB / 244 MB, free: 2.086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.0069, allocations: 8.031 kB / 244 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.006963, allocations: 28.84 kB / 244 MB, free: 2.051 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.007234, allocations: 219.2 kB / 244.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.007249, allocations: 8.375 kB / 244.3 MB, free: 1.801 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.007281, allocations: 12.97 kB / 244.3 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.007445, allocations: 100.7 kB / 244.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.007453, allocations: 0.5312 kB / 244.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.007468, allocations: 5.688 kB / 244.4 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007475, allocations: 4 kB / 244.4 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.007541, allocations: 23.98 kB / 244.4 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.008056, allocations: 288.7 kB / 244.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.008364, allocations: 115.1 kB / 244.8 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.008418, allocations: 28.83 kB / 244.8 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.008437, allocations: 8.688 kB / 244.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.008461, allocations: 38.55 kB / 244.9 MB, free: 1.156 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.008463, allocations: 0.6875 kB / 244.9 MB, free: 1.156 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001092/0.009555, allocations: 438.4 kB / 245.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.009584, allocations: 55.41 kB / 245.3 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.009851, allocations: 275 kB / 245.6 MB, free: 356 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.009869, allocations: 25.7 kB / 245.6 MB, free: 324 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.00993, allocations: 137.7 kB / 245.8 MB, free: 180 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.009985, allocations: 59.47 kB / 245.8 MB, free: 120 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.01005, allocations: 38.66 kB / 245.9 MB, free: 76 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01016, allocations: 346.7 kB / 246.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.01021, allocations: 16.48 kB / 246.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.01025, allocations: 22.06 kB / 246.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.01037, allocations: 66.64 kB / 246.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01037, allocations: 3.938 kB / 246.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001749/0.01054, allocations: 107.3 kB / 246.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01056, allocations: 7.938 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01056, allocations: 4 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01058, allocations: 3.984 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.01087, allocations: 75.89 kB / 246.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.01088, allocations: 0 / 246.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.01096, allocations: 4 kB / 246.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01098, allocations: 11.98 kB / 246.5 MB, free: 15.41 MB / 250.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 8.361e-05/0.01106, allocations: 120.6 kB / 246.6 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.01112, allocations: 23.92 kB / 246.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.01134, allocations: 140.5 kB / 246.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.01134, allocations: 4 kB / 246.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01135, allocations: 4 kB / 246.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01135, allocations: 0 / 246.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.01158, allocations: 141.8 kB / 246.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01158, allocations: 0 / 246.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.01197, allocations: 91.84 kB / 247 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.01202, allocations: 31.73 kB / 247.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01202, allocations: 0 / 247.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.01204, allocations: 8 kB / 247.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01205, allocations: 3.984 kB / 247.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01205, allocations: 4 kB / 247.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.01235, allocations: 244.1 kB / 247.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.01238, allocations: 11.94 kB / 247.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01251, allocations: 4.062 kB / 247.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.01256, allocations: 19.97 kB / 247.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01256, allocations: 0 / 247.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.01269, allocations: 112.6 kB / 247.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01269, allocations: 4 kB / 247.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.01294, allocations: 47.94 kB / 247.5 MB, free: 14.36 MB / 250.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 7.925e-05/0.01302, allocations: 88.41 kB / 247.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.01314, allocations: 83.19 kB / 247.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.01315, allocations: 4 kB / 247.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.01322, allocations: 63.22 kB / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01349, allocations: 300.6 kB / 248 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.01503, allocations: 0.5501 MB / 248.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01507, allocations: 84.31 kB / 248.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.01514, allocations: 26.28 kB / 248.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01526, allocations: 95.34 kB / 248.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01526, allocations: 0 / 248.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of Templates: time 0.004744/0.02, allocations: 3.302 MB / 252.1 MB, free: 9.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2248714575544]