Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.91 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.118, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003857/0.1219, allocations: 2.09 MB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1231, allocations: 0.5613 MB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1232, allocations: 0 / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1234, allocations: 27.69 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1237, allocations: 83.39 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.1239, allocations: 51.86 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1243, allocations: 255.1 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1244, allocations: 56.7 kB / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1247, allocations: 115.4 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1249, allocations: 131.3 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1249, allocations: 20 kB / 361.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.125, allocations: 20 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.1251, allocations: 67.69 kB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1252, allocations: 115.2 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1255, allocations: 227.3 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1255, allocations: 0 / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1255, allocations: 3.938 kB / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1255, allocations: 4 kB / 362.2 MB, free: 10.1 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.001176/0.1267, allocations: 0.6059 MB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1267, allocations: 8.031 kB / 362.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1268, allocations: 32.56 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.1272, allocations: 312 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1273, allocations: 12.12 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.1273, allocations: 16 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.1276, allocations: 121.6 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1276, allocations: 0 / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1276, allocations: 0 / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1276, allocations: 4 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1278, allocations: 83.88 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.1288, allocations: 0.5275 MB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.1293, allocations: 178.7 kB / 364.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1295, allocations: 56.84 kB / 364.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1295, allocations: 7.938 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1295, allocations: 34.56 kB / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1295, allocations: 0 / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001545/0.1311, allocations: 0.6536 MB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1312, allocations: 59.34 kB / 364.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.1315, allocations: 332.6 kB / 365.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1316, allocations: 29.7 kB / 365.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1317, allocations: 160.2 kB / 365.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.1318, allocations: 59.19 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.1319, allocations: 37.7 kB / 365.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.132, allocations: 334.8 kB / 365.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1322, allocations: 63.91 kB / 365.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1323, allocations: 63.97 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.1326, allocations: 146.7 kB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1326, allocations: 0 / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003854/0.133, allocations: 218.5 kB / 366.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.133, allocations: 4 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1331, allocations: 3.938 kB / 366.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1331, allocations: 0 / 366.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1334, allocations: 55.97 kB / 366.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1334, allocations: 3.938 kB / 366.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1335, allocations: 15.98 kB / 366.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1336, allocations: 8 kB / 366.4 MB, free: 5.625 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.000139/0.1337, allocations: 133.7 kB / 366.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1338, allocations: 27.62 kB / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.1342, allocations: 224.6 kB / 366.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1342, allocations: 0 / 366.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1343, allocations: 7.938 kB / 366.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1343, allocations: 0 / 366.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1347, allocations: 321.4 kB / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1347, allocations: 0 / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.1351, allocations: 63.89 kB / 367.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1351, allocations: 0 / 367.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1352, allocations: 8 kB / 367.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1352, allocations: 0 / 367.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1352, allocations: 3.938 kB / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.1358, allocations: 396.5 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.1359, allocations: 108.7 kB / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1359, allocations: 8 kB / 367.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1361, allocations: 8 kB / 367.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1362, allocations: 15.91 kB / 367.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1362, allocations: 4 kB / 367.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1365, allocations: 247.1 kB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1365, allocations: 4 kB / 368 MB, free: 3.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1368, allocations: 40 kB / 368 MB, free: 3.945 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.0001365/0.1369, allocations: 107.2 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.1373, allocations: 167.1 kB / 368.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1373, allocations: 0 / 368.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1375, allocations: 83.91 kB / 368.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1379, allocations: 37.02 kB / 368.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1394, allocations: 0.7471 MB / 369.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.1398, allocations: 0.7674 MB / 369.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.1399, allocations: 23.44 kB / 369.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of SimCode: time 3.246e-06/0.1399, allocations: 0 / 369.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of Templates: time 0.1779/0.3178, allocations: 3.097 MB / 373 MB, free: 18.86 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches