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.001086/0.001086, allocations: 109.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.00104/0.00104, 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.248/1.248, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 64.2 kB / 306.4 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08996, allocations: 50.53 MB / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003424/0.09342, allocations: 2.143 MB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.09455, allocations: 0.5691 MB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.09472, allocations: 0 / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.09487, allocations: 11.81 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.09518, allocations: 67.59 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.09537, allocations: 43.95 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.09572, allocations: 251 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.09588, allocations: 52.7 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.0961, allocations: 103.5 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.09631, allocations: 127.2 kB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.09636, allocations: 12 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.0964, allocations: 12 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.09649, allocations: 55.69 kB / 360.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.0966, allocations: 111.2 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.09683, allocations: 231.2 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.09684, allocations: 0 / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09685, allocations: 0 / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.09687, allocations: 4 kB / 360.7 MB, free: 10.58 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.001111/0.09798, allocations: 0.5955 MB / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.09803, allocations: 8.031 kB / 361.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.09809, allocations: 46.69 kB / 361.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.09816, allocations: 32.56 kB / 361.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.09854, allocations: 308.1 kB / 361.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.09857, allocations: 7.938 kB / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.0986, allocations: 12 kB / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.09888, allocations: 130.7 kB / 361.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.0989, allocations: 3.984 kB / 361.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.09892, allocations: 4 kB / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.09893, allocations: 4 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.09912, allocations: 71.91 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.09998, allocations: 0.5275 MB / 362.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.1005, allocations: 182.7 kB / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1006, allocations: 56.78 kB / 362.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.1007, allocations: 0 / 362.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1007, allocations: 38.56 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/0.1007, allocations: 0 / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00152/0.1022, allocations: 0.6613 MB / 363.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1023, allocations: 55.41 kB / 363.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.1027, allocations: 332.6 kB / 363.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1027, allocations: 25.7 kB / 363.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1028, allocations: 160.2 kB / 363.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.1029, allocations: 59.2 kB / 364 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.103, allocations: 41.64 kB / 364 MB, free: 6.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1031, allocations: 342.8 kB / 364.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1033, allocations: 63.97 kB / 364.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1034, allocations: 62.78 kB / 364.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1037, allocations: 140.8 kB / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1037, allocations: 0 / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003724/0.104, allocations: 216.8 kB / 364.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1041, allocations: 8 kB / 364.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1041, allocations: 0 / 364.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.1041, allocations: 0 / 364.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1044, allocations: 63.84 kB / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1044, allocations: 11.92 kB / 364.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1046, allocations: 8 kB / 364.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1046, allocations: 8 kB / 364.9 MB, free: 6.059 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.0001477/0.1047, allocations: 134.4 kB / 365 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1048, allocations: 31.61 kB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.1052, allocations: 220.6 kB / 365.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1053, allocations: 7.922 kB / 365.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1053, allocations: 0 / 365.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1053, allocations: 0 / 365.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.1057, allocations: 325.4 kB / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1057, allocations: 0 / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.1061, allocations: 63.89 kB / 365.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1061, allocations: 0 / 365.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1061, allocations: 8 kB / 365.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1061, allocations: 3.938 kB / 365.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1061, allocations: 0 / 365.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.1067, allocations: 385.8 kB / 366.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1069, allocations: 112.6 kB / 366.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.1069, allocations: 12.06 kB / 366.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1071, allocations: 11.94 kB / 366.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1072, allocations: 11.97 kB / 366.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1072, allocations: 4 kB / 366.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.1075, allocations: 247.1 kB / 366.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1075, allocations: 3.938 kB / 366.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1078, allocations: 44 kB / 366.5 MB, free: 4.371 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.0009069/0.1087, allocations: 0.9202 MB / 367.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.1091, allocations: 155.9 kB / 367.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1091, allocations: 0 / 367.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1092, allocations: 86.56 kB / 367.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1097, allocations: 37.08 kB / 367.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1711/0.2808, allocations: 3.132 MB / 370.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.2811, allocations: 0.7722 MB / 371.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.2814, allocations: 31.47 kB / 371.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2816, allocations: 96.17 kB / 371.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.392e-06/0.2816, allocations: 0 / 371.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.3018, allocations: 5.286 MB / 377 MB, free: 19.14 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.3022, allocations: 261.5 kB / 377.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.172, allocations: 0 / 377.3 MB, free: 18.85 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