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.001423/0.001423, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001395/0.001395, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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.374/1.374, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 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.1.|filter.x.2.|filter.x.3.|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.1.|filter.x.2.|filter.x.3.|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 2.544e-06/2.544e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.508e-05, allocations: 5.094 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004465/0.0045, allocations: 1.98 MB / 320.9 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.005861, allocations: 0.5191 MB / 321.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.006033, allocations: 1.438 kB / 321.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.006195, allocations: 25.44 kB / 321.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.006638, allocations: 83.48 kB / 321.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.006932, allocations: 59.7 kB / 321.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.007397, allocations: 269.8 kB / 321.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.007602, allocations: 45.48 kB / 321.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.007931, allocations: 144.1 kB / 322.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.008193, allocations: 100.7 kB / 322.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.008269, allocations: 20.19 kB / 322.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.008328, allocations: 24.5 kB / 322.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.00845, allocations: 61.64 kB / 322.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.008585, allocations: 75.22 kB / 322.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.009009, allocations: 239.2 kB / 322.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009014, allocations: 0 / 322.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009015, allocations: 0 / 322.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.009022, allocations: 0 / 322.6 MB, free: 1.285 MB / 286.1 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.001406/0.01043, allocations: 0.5327 MB / 323.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.01048, allocations: 10.02 kB / 323.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.01058, allocations: 36.75 kB / 323.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.01103, allocations: 253.1 kB / 323.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.01105, allocations: 4.219 kB / 323.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.0111, allocations: 16.27 kB / 323.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.01146, allocations: 128.1 kB / 323.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01148, allocations: 0 / 323.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.01151, allocations: 6.047 kB / 323.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.01151, allocations: 2.656 kB / 323.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.0118, allocations: 72.81 kB / 323.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01283, allocations: 437.6 kB / 324.1 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.01354, allocations: 176.2 kB / 324.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.01372, allocations: 61.67 kB / 324.3 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.01375, allocations: 1.406 kB / 324.3 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.01377, allocations: 34.28 kB / 324.3 MB, free: 108 kB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.01377, allocations: 7.938 kB / 324.3 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002274/0.01605, allocations: 0.5982 MB / 324.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.0161, allocations: 54.77 kB / 325 MB, free: 15.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.01658, allocations: 333.7 kB / 325.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.01661, allocations: 31.08 kB / 325.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01674, allocations: 158.2 kB / 325.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.01683, allocations: 73.27 kB / 325.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.0169, allocations: 33.61 kB / 325.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.0171, allocations: 338.8 kB / 325.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.01731, allocations: 62.94 kB / 326 MB, free: 14.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.0175, allocations: 60.27 kB / 326 MB, free: 14.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.01798, allocations: 146.7 kB / 326.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01798, allocations: 1.188 kB / 326.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006316/0.01861, allocations: 218.1 kB / 326.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.01863, allocations: 4.438 kB / 326.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01864, allocations: 1.922 kB / 326.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.01866, allocations: 1.062 kB / 326.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.01906, allocations: 59.69 kB / 326.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01907, allocations: 0 / 326.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.01933, allocations: 5.719 kB / 326.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.01936, allocations: 9.359 kB / 326.5 MB, free: 14.69 MB / 302.1 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 0.0002123/0.01958, allocations: 140.9 kB / 326.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.01968, allocations: 33.03 kB / 326.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.02038, allocations: 223 kB / 326.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.02039, allocations: 1.125 kB / 326.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.0204, allocations: 1.125 kB / 326.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.0204, allocations: 1.453 kB / 326.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.02085, allocations: 227.5 kB / 327.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02085, allocations: 0.5156 kB / 327.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.02132, allocations: 59.89 kB / 327.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.02132, allocations: 5.25 kB / 327.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.02136, allocations: 8.594 kB / 327.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.02136, allocations: 0 / 327.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02136, allocations: 1.219 kB / 327.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.02224, allocations: 393.8 kB / 327.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.02233, allocations: 40 kB / 327.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.02239, allocations: 3.266 kB / 327.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.02267, allocations: 13.59 kB / 327.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.02276, allocations: 10.86 kB / 327.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.02278, allocations: 5.578 kB / 327.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004623/0.02324, allocations: 253.7 kB / 327.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02324, allocations: 0 / 327.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005047/0.02375, allocations: 42.59 kB / 327.9 MB, free: 13.82 MB / 302.1 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.0002003/0.02395, allocations: 103 kB / 328 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.02447, allocations: 148.3 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02448, allocations: 1.125 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.02472, allocations: 83.95 kB / 328.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.02529, allocations: 44.14 kB / 328.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.02707, allocations: 0.6283 MB / 328.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.02729, allocations: 156.7 kB / 329.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.02744, allocations: 29.92 kB / 329.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.02755, allocations: 30.72 kB / 329.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.02755, allocations: 0 / 329.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.008244/0.03579, allocations: 2.925 MB / 332 MB, free: 12.2 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.360114369541407]