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.001441/0.001441, allocations: 115 kB / 18.46 MB, free: 4.621 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.001522/0.001522, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.588/1.588, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.00159/0.00159, allocations: 47.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004802/0.1303, allocations: 2.098 MB / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1318, allocations: 0.5885 MB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.132, allocations: 0 / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1322, allocations: 27.67 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1325, allocations: 71.42 kB / 430.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1327, allocations: 55.91 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.1332, allocations: 259 kB / 430.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1333, allocations: 48.69 kB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.1336, allocations: 111.5 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1338, allocations: 139.2 kB / 430.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.1339, allocations: 20 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.1339, allocations: 20 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.134, allocations: 63.69 kB / 431 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1342, allocations: 119.2 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1346, allocations: 238.7 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1346, allocations: 0 / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1346, allocations: 0 / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1346, allocations: 4 kB / 431.3 MB, free: 432 kB / 350.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.2764/0.411, allocations: 0.6008 MB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.411, allocations: 10.86 kB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.4111, allocations: 34.12 kB / 432 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.4115, allocations: 311.8 kB / 432.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4115, allocations: 8.781 kB / 432.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.4116, allocations: 12.5 kB / 432.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.4119, allocations: 123.2 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4119, allocations: 2.062 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4119, allocations: 8.188 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4119, allocations: 4.141 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.4121, allocations: 79.67 kB / 432.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.4129, allocations: 0.5236 MB / 433 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.4134, allocations: 177.6 kB / 433.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4136, allocations: 58.59 kB / 433.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4136, allocations: 1.594 kB / 433.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4136, allocations: 33.06 kB / 433.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.4136, allocations: 0 / 433.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001495/0.4151, allocations: 0.667 MB / 434 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4151, allocations: 56.59 kB / 434 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.4155, allocations: 331.4 kB / 434.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4155, allocations: 31.58 kB / 434.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.4156, allocations: 161.6 kB / 434.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.4156, allocations: 63.78 kB / 434.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.4157, allocations: 34.98 kB / 434.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.4158, allocations: 341.3 kB / 435 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4159, allocations: 67.3 kB / 435 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.416, allocations: 61.23 kB / 435.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.4163, allocations: 143.1 kB / 435.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4163, allocations: 1.438 kB / 435.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003652/0.4166, allocations: 212.8 kB / 435.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4166, allocations: 6.344 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4166, allocations: 2.375 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4167, allocations: 3.406 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.417, allocations: 58.8 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.417, allocations: 1.969 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.4171, allocations: 9.75 kB / 435.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4171, allocations: 11.12 kB / 435.5 MB, free: 9.633 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.0001037/0.4172, allocations: 136.6 kB / 435.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.4173, allocations: 33.09 kB / 435.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.4177, allocations: 214.2 kB / 435.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4177, allocations: 2.281 kB / 435.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4177, allocations: 5.406 kB / 435.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4178, allocations: 2.172 kB / 435.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.4181, allocations: 328.9 kB / 436.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4181, allocations: 0.875 kB / 436.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.4185, allocations: 60.08 kB / 436.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4185, allocations: 1.156 kB / 436.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4185, allocations: 9.422 kB / 436.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4185, allocations: 0 / 436.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4185, allocations: 1.5 kB / 436.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.419, allocations: 397.8 kB / 436.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.4191, allocations: 108.2 kB / 436.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.4191, allocations: 11.19 kB / 436.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.4193, allocations: 8.609 kB / 436.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4194, allocations: 14.14 kB / 436.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4194, allocations: 5.875 kB / 436.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.4197, allocations: 244.5 kB / 437.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4197, allocations: 1.594 kB / 437.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.42, allocations: 44.52 kB / 437.1 MB, free: 8.633 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.0001079/0.4201, allocations: 111.1 kB / 437.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4204, allocations: 147.3 kB / 437.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4204, allocations: 1.156 kB / 437.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.4206, allocations: 87.42 kB / 437.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.421, allocations: 34.42 kB / 437.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4223, allocations: 0.7412 MB / 438.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.4225, allocations: 0.7672 MB / 439 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4226, allocations: 25.81 kB / 439 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4226, allocations: 0 / 439 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.006797/0.4294, allocations: 3.126 MB / 442.2 MB, free: 7.016 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: 8.068488252989482]