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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 116.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 55.62 kB / 306.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 50.52 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003693/0.1199, allocations: 2.136 MB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1212, allocations: 0.5652 MB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1214, allocations: 0 / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1216, allocations: 19.73 kB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.122, allocations: 59.62 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1222, allocations: 51.88 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1227, allocations: 255.2 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1229, allocations: 60.69 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.1232, allocations: 107.4 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1234, allocations: 139.3 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.1235, allocations: 24 kB / 360.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.1235, allocations: 20 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.1236, allocations: 59.69 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1237, allocations: 119.1 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.124, allocations: 227.4 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.124, allocations: 0 / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.124, allocations: 3.938 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1241, allocations: 0 / 360.9 MB, free: 10.25 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.001266/0.1253, allocations: 0.6033 MB / 361.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1254, allocations: 12.03 kB / 361.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.213e-05/0.1255, allocations: 42.73 kB / 361.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1256, allocations: 32.56 kB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.126, allocations: 308 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.126, allocations: 15.94 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1261, allocations: 12 kB / 361.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.1264, allocations: 118.7 kB / 362.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1265, allocations: 0 / 362.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1265, allocations: 4 kB / 362.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1265, allocations: 4 kB / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.1268, allocations: 75.95 kB / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.1281, allocations: 0.5352 MB / 362.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.1288, allocations: 170.8 kB / 362.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.1291, allocations: 64.77 kB / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1291, allocations: 0 / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1291, allocations: 38.56 kB / 362.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 5.451e-06/0.1292, allocations: 3.938 kB / 362.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002295/0.1315, allocations: 0.6712 MB / 363.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1315, allocations: 55.41 kB / 363.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.1321, allocations: 332.6 kB / 364 MB, free: 6.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1322, allocations: 25.7 kB / 364 MB, free: 6.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1324, allocations: 156.2 kB / 364.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1325, allocations: 67.17 kB / 364.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1326, allocations: 33.7 kB / 364.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1328, allocations: 350.8 kB / 364.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.133, allocations: 59.97 kB / 364.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1332, allocations: 60.72 kB / 364.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.1337, allocations: 143.3 kB / 364.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1337, allocations: 3.938 kB / 364.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005813/0.1343, allocations: 212.5 kB / 365.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.1343, allocations: 8 kB / 365.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.1343, allocations: 3.984 kB / 365.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1344, allocations: 4 kB / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1348, allocations: 59.91 kB / 365.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1349, allocations: 4 kB / 365.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1351, allocations: 7.984 kB / 365.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1352, allocations: 11.94 kB / 365.2 MB, free: 5.711 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.0001908/0.1354, allocations: 130.4 kB / 365.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1355, allocations: 27.62 kB / 365.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.1361, allocations: 224.5 kB / 365.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1361, allocations: 7.922 kB / 365.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1362, allocations: 0 / 365.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1362, allocations: 0 / 365.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.1367, allocations: 325.4 kB / 365.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1368, allocations: 0 / 365.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.1373, allocations: 55.95 kB / 365.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1373, allocations: 0 / 365.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.1374, allocations: 8 kB / 365.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1374, allocations: 7.938 kB / 365.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1374, allocations: 0 / 365.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.1383, allocations: 385.8 kB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1385, allocations: 116.7 kB / 366.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.1386, allocations: 4 kB / 366.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.1389, allocations: 11.94 kB / 366.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.139, allocations: 11.98 kB / 366.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.139, allocations: 12.11 kB / 366.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004215/0.1395, allocations: 243.1 kB / 366.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1395, allocations: 0 / 366.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.14, allocations: 47.94 kB / 366.8 MB, free: 4.031 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.001253/0.1413, allocations: 0.9268 MB / 367.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1419, allocations: 167.9 kB / 367.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1419, allocations: 0 / 367.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1421, allocations: 86.72 kB / 367.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.1427, allocations: 40.95 kB / 368 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.235/0.3777, allocations: 3.133 MB / 371.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3781, allocations: 0.7645 MB / 371.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.3784, allocations: 34.28 kB / 371.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.3786, allocations: 92 kB / 372 MB, free: 18.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.344e-06/0.3786, allocations: 0 / 372 MB, free: 18.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.4061, allocations: 5.478 MB / 377.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.4064, allocations: 265 kB / 377.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.722, allocations: 4 kB / 377.7 MB, free: 17.64 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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