Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 100.9 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008979/0.0008977, allocations: 46.83 kB / 300.2 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1143, allocations: 49.45 MB / 349.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003589/0.1179, allocations: 2.116 MB / 351.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.1189, allocations: 0.5457 MB / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.119, allocations: 4 kB / 352.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1192, allocations: 15.8 kB / 352.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1195, allocations: 59.62 kB / 352.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1197, allocations: 47.94 kB / 352.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.12, allocations: 263 kB / 352.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1202, allocations: 52.73 kB / 352.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1204, allocations: 107.4 kB / 352.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1206, allocations: 135.3 kB / 353 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.1206, allocations: 20 kB / 353.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.1207, allocations: 20 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.1208, allocations: 67.69 kB / 353.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1209, allocations: 111.2 kB / 353.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1211, allocations: 227.4 kB / 353.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1211, allocations: 0 / 353.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1212, allocations: 3.938 kB / 353.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.1212, allocations: 0 / 353.5 MB, free: 0.8242 MB / 286.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.001209/0.1224, allocations: 0.6032 MB / 354.1 MB, free: 176 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1225, allocations: 15.89 kB / 354.1 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.1225, allocations: 46.73 kB / 354.1 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.1226, allocations: 28.56 kB / 354.2 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.123, allocations: 312 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1231, allocations: 11.94 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1231, allocations: 19.92 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.1234, allocations: 117.6 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1234, allocations: 0 / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1234, allocations: 8 kB / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1234, allocations: 0 / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1236, allocations: 79.95 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.1245, allocations: 0.5274 MB / 355.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.125, allocations: 178.7 kB / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1252, allocations: 64.77 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1252, allocations: 4 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1252, allocations: 30.56 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.1252, allocations: 4 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001471/0.1267, allocations: 0.6681 MB / 356.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1268, allocations: 55.41 kB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.1271, allocations: 328.6 kB / 356.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1271, allocations: 33.7 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.1272, allocations: 156.2 kB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.1273, allocations: 63.17 kB / 356.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.1274, allocations: 37.7 kB / 356.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1275, allocations: 342.8 kB / 357.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1277, allocations: 55.97 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1278, allocations: 71.16 kB / 357.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.128, allocations: 140.8 kB / 357.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1281, allocations: 0 / 357.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003597/0.1284, allocations: 218.6 kB / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1284, allocations: 4 kB / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1285, allocations: 0 / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1285, allocations: 4 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1288, allocations: 63.84 kB / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1288, allocations: 0 / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.129, allocations: 11.98 kB / 357.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.129, allocations: 4 kB / 357.7 MB, free: 12.29 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.0001642/0.1292, allocations: 133.8 kB / 357.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.1293, allocations: 27.62 kB / 357.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.1298, allocations: 223.1 kB / 358.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1299, allocations: 11.94 kB / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1299, allocations: 0 / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1299, allocations: 0 / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1304, allocations: 317.4 kB / 358.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1304, allocations: 3.938 kB / 358.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.1308, allocations: 63.89 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1309, allocations: 4 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1309, allocations: 0 / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.1309, allocations: 3.938 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.1309, allocations: 4 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.1317, allocations: 391 kB / 358.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.1319, allocations: 116.7 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.132, allocations: 8 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1323, allocations: 7.938 kB / 359 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.1324, allocations: 15.98 kB / 359 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1324, allocations: 3.984 kB / 359 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004394/0.1328, allocations: 251.1 kB / 359.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1329, allocations: 0 / 359.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.1333, allocations: 44 kB / 359.3 MB, free: 10.59 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.001137/0.1344, allocations: 0.9258 MB / 360.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.1349, allocations: 171.9 kB / 360.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1349, allocations: 0 / 360.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1351, allocations: 83.91 kB / 360.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.1357, allocations: 33.08 kB / 360.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.1414, allocations: 3.143 MB / 363.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.1419, allocations: 0.7712 MB / 364.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.1421, allocations: 26.28 kB / 364.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.1423, allocations: 99.05 kB / 364.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1423, allocations: 0 / 364.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/0.342, allocations: 5.479 MB / 370 MB, free: 26.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.3422, allocations: 256.5 kB / 370.3 MB, free: 26.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.255, allocations: 0 / 370.3 MB, free: 26.19 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches