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.001775/0.001775, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001927/0.001927, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.223 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.001573/0.001573, allocations: 51.92 kB / 379.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2934, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003787/0.2971, allocations: 2.111 MB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2984, allocations: 0.5768 MB / 435.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2986, allocations: 4 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.2987, allocations: 23.67 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.299, allocations: 87.34 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2992, allocations: 55.86 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.2996, allocations: 259.1 kB / 435.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2997, allocations: 40.91 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3, allocations: 119.4 kB / 435.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3002, allocations: 131.3 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.3002, allocations: 20 kB / 435.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.3003, allocations: 20 kB / 435.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.3004, allocations: 71.61 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3005, allocations: 123.2 kB / 436 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3008, allocations: 232 kB / 436.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3008, allocations: 3.938 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3009, allocations: 0 / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3009, allocations: 0 / 436.3 MB, free: 3.086 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.001217/0.3021, allocations: 0.5318 MB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3021, allocations: 12.03 kB / 436.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.3022, allocations: 28.75 kB / 436.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.3026, allocations: 258.5 kB / 437.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3026, allocations: 16.12 kB / 437.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.3027, allocations: 19.88 kB / 437.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3029, allocations: 121.6 kB / 437.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.303, allocations: 0 / 437.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.303, allocations: 4 kB / 437.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.303, allocations: 4 kB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3032, allocations: 75.95 kB / 437.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.3041, allocations: 0.4954 MB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3046, allocations: 182.7 kB / 438 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3048, allocations: 56.84 kB / 438.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3048, allocations: 3.938 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3048, allocations: 30.56 kB / 438.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3048, allocations: 0 / 438.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00162/0.3064, allocations: 0.5967 MB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3065, allocations: 55.41 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.3069, allocations: 336.5 kB / 439.1 MB, free: 112 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3069, allocations: 25.7 kB / 439.1 MB, free: 80 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3071, allocations: 160.3 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.3072, allocations: 67.48 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.3072, allocations: 33.7 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3074, allocations: 338.8 kB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3076, allocations: 67.91 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3077, allocations: 59.97 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.308, allocations: 142.7 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.308, allocations: 0 / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003853/0.3083, allocations: 215.5 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3084, allocations: 8 kB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3084, allocations: 0 / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3084, allocations: 0 / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.3087, allocations: 59.91 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3087, allocations: 7.938 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3088, allocations: 7.984 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3089, allocations: 11.94 kB / 440.2 MB, free: 14.89 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.0001478/0.309, allocations: 129.8 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3091, allocations: 27.81 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.3095, allocations: 224.5 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3096, allocations: 3.938 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3096, allocations: 3.938 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3096, allocations: 0 / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.31, allocations: 304.4 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.31, allocations: 0 / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.3103, allocations: 63.89 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3103, allocations: 0 / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3104, allocations: 8 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3104, allocations: 0 / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3104, allocations: 3.938 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.311, allocations: 395.9 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.3111, allocations: 27.86 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.3111, allocations: 12 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3113, allocations: 4 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3114, allocations: 23.84 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3114, allocations: 4.125 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.3117, allocations: 247 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3117, allocations: 0 / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3119, allocations: 44 kB / 441.7 MB, free: 13.32 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.0001401/0.3121, allocations: 111.2 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.3125, allocations: 143.9 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3125, allocations: 0 / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3126, allocations: 83.89 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.313, allocations: 29.09 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3146, allocations: 0.7472 MB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.315, allocations: 0.7675 MB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3151, allocations: 23.44 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3151, allocations: 0 / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.006192/0.3213, allocations: 3.137 MB / 446.8 MB, free: 8.238 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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: 7.5176402090583]