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.001134/0.001134, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.004095/0.004095, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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.9552/0.9552, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.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.302e-06/1.302e-06, allocations: 0 / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.129e-05, allocations: 2.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002368/0.002389, allocations: 2.102 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.003294, allocations: 0.5805 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.003394, allocations: 7.938 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.0035, allocations: 23.67 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.003766, allocations: 79.42 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003976, allocations: 55.91 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.004242, allocations: 266.9 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004362, allocations: 58.78 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.004582, allocations: 147.5 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.004713, allocations: 99.61 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.004742, allocations: 16 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.004765, allocations: 20 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.004836, allocations: 59.69 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.004898, allocations: 75.7 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.005083, allocations: 155.2 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005086, allocations: 0 / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005087, allocations: 0 / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005093, allocations: 0 / 277.2 MB, free: 13.48 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.0007169/0.005809, allocations: 0.4953 MB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.00585, allocations: 8.031 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.005901, allocations: 28.91 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.006156, allocations: 218.5 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.006168, allocations: 8.375 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.006196, allocations: 16.33 kB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.006331, allocations: 94.41 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.006339, allocations: 0 / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006351, allocations: 7.984 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.006358, allocations: 4 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.006405, allocations: 29.89 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.006818, allocations: 278.7 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.007055, allocations: 114.5 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.007094, allocations: 28.84 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.007111, allocations: 4 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.007132, allocations: 30.56 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.007133, allocations: 3.938 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008447/0.007978, allocations: 440.7 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.00801, allocations: 55.41 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.008185, allocations: 279 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.008203, allocations: 29.7 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.008253, allocations: 132.9 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.008302, allocations: 63.42 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.008351, allocations: 37.69 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.008439, allocations: 338.8 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.008472, allocations: 19.98 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.008504, allocations: 19.98 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.008602, allocations: 74.88 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.008603, allocations: 4 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001285/0.008731, allocations: 105.6 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.008747, allocations: 11.94 kB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008753, allocations: 0 / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.008768, allocations: 0 / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.008986, allocations: 70.33 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008991, allocations: 3.984 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.009047, allocations: 8 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.009056, allocations: 3.984 kB / 280.2 MB, free: 10.29 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 8.758e-05/0.009144, allocations: 124.7 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.009179, allocations: 19.92 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.009384, allocations: 146.4 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.009387, allocations: 0 / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.009389, allocations: 0 / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009392, allocations: 0 / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.009565, allocations: 153.8 kB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009567, allocations: 0 / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.009826, allocations: 87.91 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.009837, allocations: 3.938 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.009853, allocations: 7.984 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.009855, allocations: 0 / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009856, allocations: 0 / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01009, allocations: 254.1 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.01012, allocations: 31.73 kB / 281.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.01015, allocations: 3.938 kB / 281.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.01022, allocations: 8 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.01026, allocations: 11.97 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01027, allocations: 8 kB / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.01036, allocations: 116.6 kB / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01036, allocations: 0 / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.01052, allocations: 40 kB / 281.2 MB, free: 9.234 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.0001234/0.01064, allocations: 96.34 kB / 281.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01077, allocations: 78.48 kB / 281.4 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.01078, allocations: 0 / 281.4 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.01084, allocations: 64.61 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01107, allocations: 39.91 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.01194, allocations: 0.5478 MB / 282.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.01199, allocations: 84.31 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.01206, allocations: 30.27 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.01218, allocations: 91.34 kB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01218, allocations: 0 / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of Templates: time 0.005464/0.01765, allocations: 3.13 MB / 285.4 MB, free: 5.109 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6699851360172033]