Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.001491, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.3 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 64.17 kB / 306.3 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 50.53 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004712/0.1294, allocations: 2.132 MB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1307, allocations: 0.5807 MB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1308, allocations: 0 / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.131, allocations: 11.86 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1313, allocations: 59.56 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1315, allocations: 47.94 kB / 359.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.1319, allocations: 251 kB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.1321, allocations: 56.7 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1323, allocations: 95.5 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1326, allocations: 131.2 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.1326, allocations: 16 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.1327, allocations: 12 kB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1328, allocations: 59.67 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.133, allocations: 111.2 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1333, allocations: 215.3 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1333, allocations: 4 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1333, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1333, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.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.00132/0.1346, allocations: 0.5994 MB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1347, allocations: 12.03 kB / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.1348, allocations: 32.56 kB / 361.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.1352, allocations: 312 kB / 361.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1353, allocations: 16.12 kB / 361.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1353, allocations: 12 kB / 361.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.1357, allocations: 122.7 kB / 361.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1357, allocations: 3.984 kB / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1358, allocations: 4 kB / 361.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1358, allocations: 4 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1361, allocations: 83.91 kB / 361.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1372, allocations: 0.5236 MB / 362.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.138, allocations: 174.7 kB / 362.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.1382, allocations: 56.84 kB / 362.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1382, allocations: 7.938 kB / 362.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1382, allocations: 34.56 kB / 362.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.1382, allocations: 0 / 362.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002151/0.1404, allocations: 0.6634 MB / 363.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1405, allocations: 59.34 kB / 363.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.141, allocations: 332.5 kB / 363.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1411, allocations: 29.7 kB / 363.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1412, allocations: 164.2 kB / 363.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.1413, allocations: 55.2 kB / 363.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.1414, allocations: 37.7 kB / 363.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1416, allocations: 334.8 kB / 364.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1418, allocations: 67.91 kB / 364.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.142, allocations: 63.91 kB / 364.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.1425, allocations: 144.8 kB / 364.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1425, allocations: 0 / 364.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005745/0.1431, allocations: 216.4 kB / 364.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1431, allocations: 4 kB / 364.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1431, allocations: 0 / 364.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1431, allocations: 0 / 364.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.1436, allocations: 63.91 kB / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1436, allocations: 3.938 kB / 364.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1438, allocations: 11.98 kB / 364.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1439, allocations: 4 kB / 364.8 MB, free: 6.016 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.000173/0.1441, allocations: 130.4 kB / 364.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.1442, allocations: 31.62 kB / 364.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.1448, allocations: 228.5 kB / 365.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.1448, allocations: 4 kB / 365.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1448, allocations: 3.938 kB / 365.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1448, allocations: 3.984 kB / 365.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1454, allocations: 321.4 kB / 365.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1454, allocations: 0 / 365.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.1459, allocations: 63.89 kB / 365.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.146, allocations: 0 / 365.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.146, allocations: 8 kB / 365.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.146, allocations: 0 / 365.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.146, allocations: 7.938 kB / 365.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.1469, allocations: 389.8 kB / 365.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.147, allocations: 108.8 kB / 366 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1471, allocations: 4 kB / 366 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.1474, allocations: 4 kB / 366 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.1475, allocations: 23.84 kB / 366.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1475, allocations: 4 kB / 366.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003874/0.1479, allocations: 251.1 kB / 366.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.148, allocations: 0 / 366.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.1485, allocations: 44 kB / 366.4 MB, free: 4.324 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.0001518/0.1486, allocations: 111.1 kB / 366.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.1491, allocations: 155.9 kB / 366.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1492, allocations: 0 / 366.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1494, allocations: 87.91 kB / 366.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.15, allocations: 36.47 kB / 366.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1519, allocations: 0.7902 MB / 367.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.1524, allocations: 0.7599 MB / 368.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.1526, allocations: 38.27 kB / 368.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1527, allocations: 23.42 kB / 368.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1527, allocations: 0 / 368.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of Templates: time 0.1811/0.3339, allocations: 2.512 MB / 370.9 MB, free: 19.9 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches