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.001174/0.001175, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 60.09 kB / 307.1 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1495, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004491/0.1541, allocations: 2.087 MB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1556, allocations: 0.5613 MB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.1559, allocations: 4 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1561, allocations: 27.67 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.1567, allocations: 75.34 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.157, allocations: 55.86 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.1574, allocations: 251.2 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1576, allocations: 60.7 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1579, allocations: 123.4 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1582, allocations: 127.3 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.1582, allocations: 20 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.1583, allocations: 20 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1584, allocations: 67.67 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1586, allocations: 115.1 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.159, allocations: 231.4 kB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.159, allocations: 4 kB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.159, allocations: 0 / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.159, allocations: 7.875 kB / 361.4 MB, free: 10.14 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.001523/0.1606, allocations: 0.5916 MB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.1606, allocations: 12.03 kB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.1607, allocations: 38.75 kB / 362 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1608, allocations: 32.56 kB / 362.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.1614, allocations: 316 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1614, allocations: 11.94 kB / 362.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.1615, allocations: 12 kB / 362.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.1618, allocations: 126.7 kB / 362.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1618, allocations: 0 / 362.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1618, allocations: 4 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1618, allocations: 4 kB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.162, allocations: 79.84 kB / 362.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.163, allocations: 0.5197 MB / 363.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.1635, allocations: 178.8 kB / 363.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1637, allocations: 56.78 kB / 363.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1637, allocations: 7.984 kB / 363.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1637, allocations: 42.48 kB / 363.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1637, allocations: 0 / 363.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001679/0.1654, allocations: 0.6635 MB / 364.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1655, allocations: 51.41 kB / 364.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.1659, allocations: 336.6 kB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.166, allocations: 25.7 kB / 364.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1661, allocations: 164.2 kB / 364.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.1662, allocations: 59.2 kB / 364.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.1663, allocations: 33.7 kB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1665, allocations: 338.8 kB / 365.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1666, allocations: 63.97 kB / 365.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1667, allocations: 59.97 kB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.167, allocations: 144.8 kB / 365.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.167, allocations: 0 / 365.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003721/0.1674, allocations: 224.5 kB / 365.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1674, allocations: 4 kB / 365.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1675, allocations: 0 / 365.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1675, allocations: 0 / 365.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1678, allocations: 63.91 kB / 365.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1678, allocations: 7.922 kB / 365.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1679, allocations: 8 kB / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.168, allocations: 11.98 kB / 365.6 MB, free: 5.621 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.000123/0.1681, allocations: 130.4 kB / 365.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.1682, allocations: 35.61 kB / 365.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.1686, allocations: 224.5 kB / 366 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1686, allocations: 7.938 kB / 366 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1686, allocations: 4 kB / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1686, allocations: 0 / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.169, allocations: 321.4 kB / 366.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.169, allocations: 0 / 366.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.1694, allocations: 55.95 kB / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1694, allocations: 0 / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1694, allocations: 8 kB / 366.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1694, allocations: 3.938 kB / 366.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1694, allocations: 0 / 366.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.17, allocations: 398.2 kB / 366.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1701, allocations: 108.7 kB / 366.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.1702, allocations: 4.062 kB / 366.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1704, allocations: 11.94 kB / 366.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.1704, allocations: 11.97 kB / 366.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1705, allocations: 8.125 kB / 366.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.1707, allocations: 251.1 kB / 367.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1707, allocations: 4 kB / 367.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.171, allocations: 40 kB / 367.2 MB, free: 3.934 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.0008648/0.1719, allocations: 0.9215 MB / 368.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.1723, allocations: 171.9 kB / 368.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1723, allocations: 4 kB / 368.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1724, allocations: 83.89 kB / 368.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1728, allocations: 29.08 kB / 368.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2106/0.3834, allocations: 3.079 MB / 371.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3838, allocations: 0.762 MB / 372.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.384, allocations: 35.94 kB / 372.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3842, allocations: 99.66 kB / 372.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3842, allocations: 1.656 kB / 372.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.412, allocations: 5.568 MB / 378 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.523, allocations: 5.562 kB / 378 MB, free: 18.25 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