Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007673/0.0007673, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001921, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006958/0.0006958, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009423/0.001638, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9537/0.9537, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.121e-05, allocations: 9.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002296/0.002318, allocations: 2.119 MB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.003101, allocations: 0.5805 MB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.003205, allocations: 0 / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.951e-05/0.003275, allocations: 23.67 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.003458, allocations: 79.41 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.003636, allocations: 59.78 kB / 247.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.004139, allocations: 267 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.004238, allocations: 42.86 kB / 247.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.004527, allocations: 228.5 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.004666, allocations: 103.6 kB / 248.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.004696, allocations: 16 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/0.004721, allocations: 20 kB / 248.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.004785, allocations: 35.81 kB / 248.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.00484, allocations: 55.81 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.005021, allocations: 147.2 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.005033, allocations: 0 / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005034, allocations: 0 / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.005044, allocations: 0 / 248.5 MB, free: 10.43 MB / 250.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.0006376/0.005682, allocations: 0.5262 MB / 249 MB, free: 9.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.005712, allocations: 12.03 kB / 249 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.005761, allocations: 28.91 kB / 249 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.005984, allocations: 222.5 kB / 249.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.005994, allocations: 4.375 kB / 249.3 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.006022, allocations: 16.33 kB / 249.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.006145, allocations: 90.41 kB / 249.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.006151, allocations: 0 / 249.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006161, allocations: 4 kB / 249.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006166, allocations: 4 kB / 249.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.006208, allocations: 29.89 kB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.006605, allocations: 294.6 kB / 249.7 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.006826, allocations: 118.5 kB / 249.8 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.006862, allocations: 24.84 kB / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.006877, allocations: 0 / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.006898, allocations: 38.56 kB / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006899, allocations: 0 / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000797/0.007696, allocations: 444.7 kB / 250.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.007722, allocations: 55.41 kB / 250.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.007875, allocations: 275 kB / 250.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.007889, allocations: 29.7 kB / 250.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.007931, allocations: 128.9 kB / 250.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.007977, allocations: 67.41 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.008021, allocations: 33.7 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.008109, allocations: 346.7 kB / 251.2 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.008139, allocations: 16 kB / 251.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.008169, allocations: 19.98 kB / 251.3 MB, free: 7.477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.008249, allocations: 82.44 kB / 251.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.008249, allocations: 0 / 251.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001236/0.008373, allocations: 109.6 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.008386, allocations: 7.938 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008391, allocations: 0 / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.008403, allocations: 0 / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.008604, allocations: 74.31 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008608, allocations: 4 kB / 251.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.008663, allocations: 15.98 kB / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.008671, allocations: 0 / 251.5 MB, free: 7.184 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 6.906e-05/0.00874, allocations: 120.7 kB / 251.7 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.008771, allocations: 23.91 kB / 251.7 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.008929, allocations: 134.9 kB / 251.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.008932, allocations: 4 kB / 251.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008934, allocations: 0 / 251.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008937, allocations: 0 / 251.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.009094, allocations: 149.8 kB / 252 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.009097, allocations: 4 kB / 252 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.00935, allocations: 87.91 kB / 252.1 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.009381, allocations: 27.75 kB / 252.1 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.009383, allocations: 0 / 252.1 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.009398, allocations: 7.984 kB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009399, allocations: 3.938 kB / 252.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0094, allocations: 0 / 252.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.009618, allocations: 250.2 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.009641, allocations: 12 kB / 252.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.009716, allocations: 8 kB / 252.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.009747, allocations: 11.97 kB / 252.4 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.009756, allocations: 8 kB / 252.4 MB, free: 6.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.278e-05/0.009839, allocations: 112.6 kB / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009839, allocations: 0 / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.009985, allocations: 40 kB / 252.5 MB, free: 6.141 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 9.911e-05/0.01008, allocations: 88.36 kB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01021, allocations: 81.36 kB / 252.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.01022, allocations: 11.98 kB / 252.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.0103, allocations: 71.58 kB / 252.8 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.01061, allocations: 296.6 kB / 253.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.01212, allocations: 0.5424 MB / 253.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.01217, allocations: 88.3 kB / 253.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.188e-05/0.01225, allocations: 30.28 kB / 253.7 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.01238, allocations: 91.36 kB / 253.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01238, allocations: 0 / 253.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of Templates: time 0.005568/0.01795, allocations: 3.305 MB / 257.1 MB, free: 1.535 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7197397416457534]