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.001621/0.001621, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 60.14 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3349, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003595/0.3386, allocations: 2.222 MB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3398, allocations: 0.616 MB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.3401, allocations: 4 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.3402, allocations: 27.61 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.3405, allocations: 71.42 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3408, allocations: 71.83 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3411, allocations: 279 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3413, allocations: 75.97 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.3415, allocations: 123.4 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3417, allocations: 151.2 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3418, allocations: 20 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.3418, allocations: 24 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.3419, allocations: 63.69 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.342, allocations: 127.1 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3423, allocations: 272.5 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3423, allocations: 0 / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3423, allocations: 0 / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3424, allocations: 0 / 412.9 MB, free: 13.41 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.001216/0.3436, allocations: 0.6114 MB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3436, allocations: 12.03 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.3437, allocations: 50.73 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.3438, allocations: 32.56 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.3442, allocations: 316.3 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3442, allocations: 16.22 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.3443, allocations: 12 kB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.345, allocations: 369.9 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.345, allocations: 0 / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3451, allocations: 4 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3451, allocations: 4 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3453, allocations: 91.89 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.3461, allocations: 0.5288 MB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.3469, allocations: 315.6 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.3471, allocations: 142 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.3471, allocations: 8.656 kB / 415.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3472, allocations: 38.5 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.3472, allocations: 0 / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002412/0.3496, allocations: 1.335 MB / 416.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3497, allocations: 130.8 kB / 416.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.3501, allocations: 328.6 kB / 417.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3501, allocations: 33.7 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.3502, allocations: 149 kB / 417.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.3503, allocations: 51.5 kB / 417.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.3504, allocations: 74.14 kB / 417.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3505, allocations: 346.8 kB / 417.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3507, allocations: 72.83 kB / 417.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.351, allocations: 318.7 kB / 418.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.3515, allocations: 420.8 kB / 418.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3515, allocations: 0 / 418.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007245/0.3522, allocations: 413.3 kB / 419 MB, free: 6.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3522, allocations: 8 kB / 419 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3523, allocations: 15.98 kB / 419 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.3523, allocations: 8 kB / 419 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3526, allocations: 91.84 kB / 419.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.3526, allocations: 15.92 kB / 419.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3528, allocations: 27.94 kB / 419.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3529, allocations: 28 kB / 419.2 MB, free: 6.469 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.0001915/0.3531, allocations: 173.7 kB / 419.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.3536, allocations: 292.6 kB / 419.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.3542, allocations: 375.5 kB / 420 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3543, allocations: 4 kB / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3543, allocations: 0 / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3543, allocations: 7.984 kB / 420 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.3547, allocations: 329.2 kB / 420.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3547, allocations: 0 / 420.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/0.3553, allocations: 127.8 kB / 420.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3553, allocations: 0 / 420.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3553, allocations: 15.98 kB / 420.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3553, allocations: 4 kB / 420.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3553, allocations: 0 / 420.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.3563, allocations: 0.707 MB / 421.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3564, allocations: 116.7 kB / 421.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3565, allocations: 15.94 kB / 421.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3568, allocations: 11.98 kB / 421.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3568, allocations: 4 kB / 421.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3569, allocations: 15.98 kB / 421.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.3571, allocations: 243.1 kB / 421.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3571, allocations: 0 / 421.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.3576, allocations: 68.06 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.001212/0.3588, allocations: 1.276 MB / 422.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.3594, allocations: 301.1 kB / 423.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3594, allocations: 0.6875 kB / 423.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.3595, allocations: 27.98 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.0007278/0.3602, allocations: 213.7 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.005007/0.3652, allocations: 3.811 MB / 427.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.3656, allocations: 0.8073 MB / 428.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3657, allocations: 35.28 kB / 428.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.3659, allocations: 115.4 kB / 428.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.983e-06/0.3659, allocations: 0 / 428.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3951, allocations: 7.293 MB / 435.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.988/9.383, allocations: 8 kB / 435.5 MB, free: 5.734 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