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.001095/0.001095, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001413/0.001413, allocations: 170 kB / 24.91 MB, free: 8.695 MB / 18.57 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 0.9206/0.9206, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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 1.332e-06/1.332e-06, allocations: 0 / 273.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.828e-05, allocations: 4.984 kB / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002255/0.002273, allocations: 2.056 MB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.003131, allocations: 0.5844 MB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.00323, allocations: 3.938 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003337, allocations: 23.67 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.003565, allocations: 79.36 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.003745, allocations: 59.89 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.003982, allocations: 259 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004084, allocations: 54.78 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.004309, allocations: 155.5 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.004437, allocations: 99.55 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.004466, allocations: 20 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.62e-05/0.004492, allocations: 23.94 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.004559, allocations: 59.67 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.004616, allocations: 67.7 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.004799, allocations: 155.3 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004801, allocations: 0 / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004802, allocations: 0 / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004806, allocations: 4 kB / 277.1 MB, free: 13.6 MB / 266.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.000581/0.005387, allocations: 0.4952 MB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.005415, allocations: 8.031 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.005464, allocations: 28.91 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.005664, allocations: 218.5 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.005673, allocations: 4.375 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.005704, allocations: 20.27 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005826, allocations: 92.16 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.005832, allocations: 0 / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005843, allocations: 8 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.005847, allocations: 4 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.00589, allocations: 23.98 kB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.006288, allocations: 286.7 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.00654, allocations: 118.5 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.006578, allocations: 32.83 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.006594, allocations: 4 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.006611, allocations: 34.56 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.006613, allocations: 0 / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008081/0.007421, allocations: 440.2 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.007452, allocations: 55.41 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.007608, allocations: 274.9 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007623, allocations: 29.7 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.007671, allocations: 128.9 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.007717, allocations: 63.42 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.007762, allocations: 41.69 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.007843, allocations: 350.7 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.007874, allocations: 16 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.007906, allocations: 26.92 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.094e-05/0.007987, allocations: 67.56 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007988, allocations: 0 / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001292/0.008117, allocations: 104.6 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008131, allocations: 11.94 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008136, allocations: 3.938 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.008146, allocations: 0 / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.008373, allocations: 59.97 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008376, allocations: 0 / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.008431, allocations: 8 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.00844, allocations: 7.984 kB / 280.2 MB, free: 10.41 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 6.954e-05/0.00851, allocations: 116.6 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.008544, allocations: 27.92 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.008699, allocations: 128.6 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008701, allocations: 0 / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008705, allocations: 4 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008708, allocations: 4 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.008868, allocations: 145.7 kB / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008869, allocations: 0 / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.009044, allocations: 63.89 kB / 280.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.009046, allocations: 0 / 280.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.00906, allocations: 7.984 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.009064, allocations: 11.92 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009066, allocations: 4 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.009284, allocations: 249.2 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.009321, allocations: 27.8 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.009345, allocations: 8 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.009421, allocations: 7.938 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.009454, allocations: 19.91 kB / 281 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.00946, allocations: 0 / 281 MB, free: 9.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.009545, allocations: 112.6 kB / 281.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009545, allocations: 0 / 281.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000154/0.009699, allocations: 40 kB / 281.1 MB, free: 9.398 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 9.674e-05/0.009796, allocations: 96.39 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.009913, allocations: 76.77 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.009918, allocations: 8 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.009969, allocations: 52.62 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01017, allocations: 45.67 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.011, allocations: 0.5437 MB / 281.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.01105, allocations: 88.31 kB / 282 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.01112, allocations: 34.27 kB / 282 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.01123, allocations: 83.36 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01123, allocations: 0 / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of Templates: time 0.005019/0.01625, allocations: 3 MB / 285.1 MB, free: 5.402 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] 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","",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.584759882185608]