Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 64.12 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4388, allocations: 50.53 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003838/0.4427, allocations: 2.229 MB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4442, allocations: 0.6043 MB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.4444, allocations: 11.94 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.4446, allocations: 23.67 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.445, allocations: 75.34 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.4454, allocations: 75.84 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.4458, allocations: 271.1 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.4461, allocations: 76.69 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.4464, allocations: 119.4 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.4466, allocations: 151.2 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.4467, allocations: 24 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.671e-05/0.4468, allocations: 28 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.4469, allocations: 63.69 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.447, allocations: 127.1 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.4474, allocations: 260.5 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4474, allocations: 0 / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4474, allocations: 0 / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4474, allocations: 0 / 412.9 MB, free: 13.42 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001309/0.4487, allocations: 0.6114 MB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4488, allocations: 8.031 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.4489, allocations: 50.73 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.449, allocations: 32.56 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.4494, allocations: 324.3 kB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4495, allocations: 12.22 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.4495, allocations: 16 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.4502, allocations: 369.9 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4502, allocations: 0 / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4502, allocations: 4 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.4503, allocations: 4 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.4505, allocations: 95.83 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.4513, allocations: 0.5249 MB / 414.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.4521, allocations: 318.6 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.4523, allocations: 142.2 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.4524, allocations: 8.594 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4524, allocations: 34.56 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.4524, allocations: 0 / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00261/0.455, allocations: 1.34 MB / 416.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.4552, allocations: 130.8 kB / 416.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.4556, allocations: 332.6 kB / 417.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4557, allocations: 29.7 kB / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4558, allocations: 153 kB / 417.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.4559, allocations: 51.47 kB / 417.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.456, allocations: 74.17 kB / 417.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4562, allocations: 346.8 kB / 417.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.4563, allocations: 76.77 kB / 417.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4566, allocations: 318.7 kB / 418.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.4571, allocations: 412.9 kB / 418.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4571, allocations: 4 kB / 418.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006913/0.4578, allocations: 413.4 kB / 419 MB, free: 6.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4578, allocations: 8 kB / 419 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4579, allocations: 8 kB / 419 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.4579, allocations: 12 kB / 419 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.4582, allocations: 91.84 kB / 419.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.4582, allocations: 19.92 kB / 419.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.4585, allocations: 16.19 kB / 419.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.4585, allocations: 24 kB / 419.2 MB, free: 6.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002143/0.4587, allocations: 181.6 kB / 419.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/0.4593, allocations: 296.6 kB / 419.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.46, allocations: 375.5 kB / 420 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.46, allocations: 7.984 kB / 420 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.46, allocations: 0 / 420 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4601, allocations: 4 kB / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4606, allocations: 333.2 kB / 420.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.4606, allocations: 0 / 420.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.4613, allocations: 127.8 kB / 420.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4613, allocations: 4 kB / 420.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.4613, allocations: 11.98 kB / 420.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4613, allocations: 0 / 420.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4614, allocations: 4 kB / 420.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.4626, allocations: 0.7109 MB / 421.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4627, allocations: 116.7 kB / 421.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.4628, allocations: 19.92 kB / 421.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4631, allocations: 12 kB / 421.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4631, allocations: 4 kB / 421.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.4632, allocations: 11.98 kB / 421.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003396/0.4635, allocations: 247.1 kB / 421.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4635, allocations: 0 / 421.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.4641, allocations: 64 kB / 421.7 MB, free: 3.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001432/0.4655, allocations: 1.279 MB / 423 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.4661, allocations: 297.3 kB / 423.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4662, allocations: 0 / 423.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.4662, allocations: 36.42 kB / 423.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008295/0.4671, allocations: 210.8 kB / 423.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.4727, allocations: 3.807 MB / 427.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4731, allocations: 0.8073 MB / 428.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.4733, allocations: 35.27 kB / 428.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.4735, allocations: 115.4 kB / 428.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4735, allocations: 0 / 428.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.5162, allocations: 7.293 MB / 435.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.458, allocations: 8 kB / 435.5 MB, free: 5.742 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches