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.001327/0.001327, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001632/0.001632, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|filter.x.2.|filter.x.3.|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.1.|filter.x.2.|filter.x.3.|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 0.00193/0.00193, allocations: 51.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 53.37 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004399/0.3226, allocations: 1.991 MB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.324, allocations: 0.5418 MB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3241, allocations: 7.938 kB / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3243, allocations: 23.67 kB / 434.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3246, allocations: 75.48 kB / 434.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3248, allocations: 51.86 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.3252, allocations: 263.1 kB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3254, allocations: 48.56 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.3256, allocations: 123.3 kB / 434.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3258, allocations: 135.2 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.3259, allocations: 20 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.92e-05/0.3259, allocations: 20 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.326, allocations: 59.77 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3261, allocations: 99.31 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.3266, allocations: 245.3 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3266, allocations: 0 / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3266, allocations: 0 / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3266, allocations: 0 / 435.3 MB, free: 3.043 MB / 334.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.001181/0.3278, allocations: 0.5343 MB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3278, allocations: 8.031 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.3279, allocations: 32.75 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.3283, allocations: 250.4 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3284, allocations: 20.11 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.3284, allocations: 12 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3287, allocations: 121.6 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3287, allocations: 0 / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3287, allocations: 8 kB / 436.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3287, allocations: 0 / 436.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.3289, allocations: 79.95 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.3298, allocations: 436 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.3303, allocations: 170.7 kB / 436.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3305, allocations: 56.84 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3305, allocations: 3.938 kB / 437 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3305, allocations: 42.48 kB / 437 MB, free: 1.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3305, allocations: 0 / 437 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001497/0.332, allocations: 0.6018 MB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3321, allocations: 51.41 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.3325, allocations: 336.6 kB / 438 MB, free: 160 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3325, allocations: 25.7 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3327, allocations: 164.4 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.3328, allocations: 59.48 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.3328, allocations: 37.7 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.333, allocations: 338.8 kB / 438.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3332, allocations: 59.97 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3333, allocations: 63.91 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3336, allocations: 147.8 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3336, allocations: 0 / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003977/0.334, allocations: 217.3 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.334, allocations: 12 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.334, allocations: 0 / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3341, allocations: 0 / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.3344, allocations: 55.95 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3344, allocations: 4 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3345, allocations: 11.94 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3345, allocations: 7.984 kB / 439.2 MB, free: 14.94 MB / 350.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.0001389/0.3347, allocations: 133.8 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.3347, allocations: 31.81 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.3352, allocations: 220.5 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3352, allocations: 0 / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3352, allocations: 0 / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3352, allocations: 7.938 kB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.3356, allocations: 229 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3356, allocations: 3.938 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.3359, allocations: 59.95 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3359, allocations: 0 / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3359, allocations: 8 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3359, allocations: 7.938 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3359, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.3366, allocations: 401.5 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.3367, allocations: 23.8 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3367, allocations: 8.062 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3369, allocations: 8 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3369, allocations: 11.97 kB / 440.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.337, allocations: 7.984 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.3373, allocations: 251 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3373, allocations: 4 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3376, allocations: 44 kB / 440.6 MB, free: 13.45 MB / 350.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.0001348/0.3378, allocations: 103.2 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.3381, allocations: 143.9 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3381, allocations: 0 / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3383, allocations: 83.89 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3387, allocations: 43.41 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3402, allocations: 0.717 MB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.3404, allocations: 155.5 kB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3405, allocations: 34.28 kB / 441.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.3406, allocations: 31.42 kB / 441.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3406, allocations: 0 / 441.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Templates: time 0.007999/0.3486, allocations: 3.203 MB / 445.1 MB, free: 8.949 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.805367951281369]