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.00109/0.00109, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001088/0.001088, allocations: 161 kB / 24.55 MB, free: 16 kB / 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.9841/0.9841, allocations: 177.1 MB / 205 MB, free: 5.242 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.452e-06/1.452e-06, allocations: 0 / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.213e-05, allocations: 5.828 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002475/0.002497, allocations: 2.072 MB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.003337, allocations: 0.5651 MB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003437, allocations: 4 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003561, allocations: 23.67 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.003844, allocations: 83.36 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.004038, allocations: 55.91 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.004318, allocations: 267 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.004456, allocations: 48.84 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.004674, allocations: 151.5 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.0048, allocations: 99.61 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.004832, allocations: 20 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.004857, allocations: 20 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.00493, allocations: 71.61 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.004995, allocations: 75.69 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.005179, allocations: 151.3 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005181, allocations: 4 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005181, allocations: 0 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005186, allocations: 0 / 276.7 MB, free: 13.64 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.0007128/0.005898, allocations: 0.6316 MB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.005936, allocations: 8.031 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.006, allocations: 40.75 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.006278, allocations: 257.2 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.006291, allocations: 12.38 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.006324, allocations: 16.31 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.006494, allocations: 100.2 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.006501, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.006516, allocations: 8 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.006523, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.006602, allocations: 39.97 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.007183, allocations: 463.2 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.00749, allocations: 143.2 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.007548, allocations: 35.67 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.007568, allocations: 4 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.007589, allocations: 37.39 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.00759, allocations: 0 / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009696/0.00856, allocations: 498.9 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.008589, allocations: 51.41 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.008835, allocations: 358.3 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.00885, allocations: 29.7 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.008943, allocations: 211 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.008989, allocations: 59.48 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.009043, allocations: 43.36 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.00919, allocations: 0.5118 MB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.009245, allocations: 23.98 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.009299, allocations: 35.97 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.009422, allocations: 82.8 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.009422, allocations: 0 / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001947/0.009617, allocations: 165.3 kB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.00963, allocations: 4 kB / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.009635, allocations: 0 / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.009648, allocations: 0 / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.009807, allocations: 59.95 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.009815, allocations: 11.98 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.009879, allocations: 8 kB / 280.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.009888, allocations: 0 / 280.6 MB, free: 9.512 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.68e-05/0.009975, allocations: 168.5 kB / 280.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01002, allocations: 35.81 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.01025, allocations: 167.4 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01025, allocations: 4 kB / 280.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01026, allocations: 0 / 280.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01026, allocations: 3.984 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.01046, allocations: 232.3 kB / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01046, allocations: 4 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.01065, allocations: 59.89 kB / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01065, allocations: 0 / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01067, allocations: 11.98 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01067, allocations: 0 / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01067, allocations: 0 / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.011, allocations: 351.6 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01103, allocations: 27.73 kB / 281.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01106, allocations: 8 kB / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.01115, allocations: 20.05 kB / 281.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.01119, allocations: 11.97 kB / 281.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.0112, allocations: 4 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.01136, allocations: 259 kB / 281.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01136, allocations: 0 / 281.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.01153, allocations: 44 kB / 282 MB, free: 8.062 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 8.285e-05/0.01162, allocations: 99.25 kB / 282.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01179, allocations: 111.4 kB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.0118, allocations: 0 / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.01187, allocations: 70.23 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01213, allocations: 36.33 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.01315, allocations: 0.6013 MB / 282.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.01321, allocations: 96.31 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.01327, allocations: 30.27 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.01335, allocations: 28.48 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01335, allocations: 0 / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of Templates: time 0.005106/0.01846, allocations: 2.976 MB / 286 MB, free: 4.016 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 -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: 3.128384083043784]