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.001016/0.001016, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001196/0.001196, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 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 1.013/1.013, allocations: 173.4 MB / 201.4 MB, free: 9.223 MB / 186.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.963e-06/1.963e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.443e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002899/0.002923, allocations: 2.03 MB / 270.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003969, allocations: 0.5417 MB / 271 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.004102, allocations: 4 kB / 271 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004228, allocations: 27.67 kB / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.004485, allocations: 91.28 kB / 271.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.004696, allocations: 51.86 kB / 271.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.004952, allocations: 263 kB / 271.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005073, allocations: 40.91 kB / 271.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.005264, allocations: 147.5 kB / 271.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005392, allocations: 103.5 kB / 271.7 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.005425, allocations: 20 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.005448, allocations: 16 kB / 271.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.005514, allocations: 55.7 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.005576, allocations: 79.69 kB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.005753, allocations: 167.2 kB / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005756, allocations: 0 / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005757, allocations: 0 / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005761, allocations: 0 / 272 MB, free: 2.551 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.0006761/0.006437, allocations: 0.616 MB / 272.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.006476, allocations: 12.92 kB / 272.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.006536, allocations: 40.75 kB / 272.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006756, allocations: 233.3 kB / 272.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.006767, allocations: 8.375 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.006795, allocations: 20.31 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.006926, allocations: 93.75 kB / 273.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.006933, allocations: 0 / 273.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.006943, allocations: 7.984 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.006949, allocations: 4 kB / 273.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.007002, allocations: 31.91 kB / 273.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.007483, allocations: 419.8 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.007734, allocations: 131.2 kB / 273.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.007776, allocations: 31.67 kB / 273.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.007796, allocations: 7.984 kB / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.007817, allocations: 37.33 kB / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.007818, allocations: 0 / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007392/0.008557, allocations: 425 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.008582, allocations: 55.41 kB / 274.2 MB, free: 248 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.008775, allocations: 338.2 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.008792, allocations: 29.7 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.00888, allocations: 211 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.008936, allocations: 67.42 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.008988, allocations: 43.34 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.009117, allocations: 0.5117 MB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.009153, allocations: 19.98 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.009189, allocations: 38.84 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.009281, allocations: 71.59 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009282, allocations: 0 / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001579/0.00944, allocations: 148.6 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.009455, allocations: 4 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009461, allocations: 0 / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.009471, allocations: 0 / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.009624, allocations: 55.91 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.009629, allocations: 7.984 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.009689, allocations: 12 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.009698, allocations: 0 / 275.7 MB, free: 14.64 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.956e-05/0.009787, allocations: 168.5 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.009826, allocations: 31.81 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.01003, allocations: 163.5 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01003, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01003, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01004, allocations: 3.984 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.01023, allocations: 181.1 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01023, allocations: 3.938 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.01041, allocations: 55.97 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01041, allocations: 3.984 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01043, allocations: 11.94 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01043, allocations: 0 / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01043, allocations: 0 / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.01071, allocations: 331.5 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.01074, allocations: 35.73 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.01077, allocations: 3.984 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.01085, allocations: 8 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.01088, allocations: 15.97 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.01089, allocations: 8 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.01101, allocations: 234.9 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01101, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.01119, allocations: 40 kB / 277 MB, free: 13.31 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.0001073/0.01129, allocations: 111.1 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01143, allocations: 87.48 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01143, allocations: 3.938 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.01149, allocations: 59.59 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01176, allocations: 49.28 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.0127, allocations: 0.6168 MB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.01276, allocations: 88.31 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.859e-05/0.01283, allocations: 30.28 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.01296, allocations: 110.2 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01296, allocations: 0 / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Templates: time 0.00568/0.01864, allocations: 3.019 MB / 281.2 MB, free: 9.16 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.761149048805237]