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.00202/0.00202, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003435/0.003435, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.406, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003668/0.4097, allocations: 2.084 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.4111, allocations: 0.573 MB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.4113, allocations: 3.938 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.4115, allocations: 27.67 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.4119, allocations: 67.42 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.4122, allocations: 55.84 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.4126, allocations: 255.2 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.4128, allocations: 56.69 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.4131, allocations: 115.4 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.4134, allocations: 143.2 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.4134, allocations: 20 kB / 412.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.4135, allocations: 20 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.4136, allocations: 63.7 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.4137, allocations: 115.2 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.414, allocations: 236.6 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4141, allocations: 0 / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4141, allocations: 0 / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4141, allocations: 3.938 kB / 412.6 MB, free: 13.72 MB / 334.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.0013/0.4154, allocations: 0.6033 MB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4155, allocations: 8.031 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.4155, allocations: 46.73 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.878e-05/0.4156, allocations: 32.56 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.4161, allocations: 308 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4161, allocations: 19.92 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.4162, allocations: 12 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4164, allocations: 125.5 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4165, allocations: 0 / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.4165, allocations: 8 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4165, allocations: 4 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.4167, allocations: 79.89 kB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.4176, allocations: 0.5159 MB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.4182, allocations: 178.7 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4183, allocations: 68.27 kB / 414.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.4183, allocations: 0 / 414.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4184, allocations: 42.56 kB / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.4184, allocations: 0 / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001657/0.4201, allocations: 0.6573 MB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4201, allocations: 59.41 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.4205, allocations: 332.6 kB / 415.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4205, allocations: 25.7 kB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4206, allocations: 156.3 kB / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.4207, allocations: 71.08 kB / 415.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.4208, allocations: 25.72 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4209, allocations: 346.7 kB / 416.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4211, allocations: 67.97 kB / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4212, allocations: 55.98 kB / 416.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.4215, allocations: 144.8 kB / 416.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4215, allocations: 0 / 416.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000367/0.4219, allocations: 216.7 kB / 416.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4219, allocations: 6.812 kB / 416.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4219, allocations: 0 / 416.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4219, allocations: 0 / 416.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.4222, allocations: 71.89 kB / 416.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4223, allocations: 0 / 416.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.4224, allocations: 4 kB / 416.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4225, allocations: 8 kB / 416.8 MB, free: 9.199 MB / 334.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.0001368/0.4226, allocations: 137.6 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.4227, allocations: 31.62 kB / 417 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.4231, allocations: 212.7 kB / 417.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4231, allocations: 11.88 kB / 417.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4232, allocations: 7.938 kB / 417.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4232, allocations: 3.984 kB / 417.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.4236, allocations: 321.4 kB / 417.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4236, allocations: 0 / 417.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.4239, allocations: 55.95 kB / 417.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.424, allocations: 4 kB / 417.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.424, allocations: 11.98 kB / 417.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.424, allocations: 7.922 kB / 417.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.424, allocations: 0 / 417.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.4247, allocations: 394.9 kB / 418 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.4248, allocations: 100.9 kB / 418.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.4248, allocations: 11.98 kB / 418.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.425, allocations: 7.938 kB / 418.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4251, allocations: 11.98 kB / 418.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4251, allocations: 7.984 kB / 418.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.4254, allocations: 251.1 kB / 418.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4254, allocations: 0 / 418.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000287/0.4257, allocations: 40 kB / 418.4 MB, free: 7.5 MB / 334.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.0009072/0.4266, allocations: 0.9212 MB / 419.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.4269, allocations: 167.8 kB / 419.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.427, allocations: 0 / 419.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.4271, allocations: 83.91 kB / 419.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4275, allocations: 33.08 kB / 419.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.432, allocations: 3.048 MB / 422.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.4325, allocations: 0.7675 MB / 423.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.4327, allocations: 34.22 kB / 423.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.4329, allocations: 95.39 kB / 423.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4329, allocations: 0 / 423.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.4658, allocations: 5.816 MB / 429.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.66/9.126, allocations: 3.094 kB / 429.4 MB, free: 12.61 MB / 350.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