Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 107.5 kB / 16.92 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002117, allocations: 191.5 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.812/1.812, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001633, allocations: 46.8 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1603, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004905/0.1653, allocations: 2.072 MB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1673, allocations: 0.5535 MB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.1677, allocations: 4 kB / 352.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.168, allocations: 23.67 kB / 352.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006521/0.1687, allocations: 75.41 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1691, allocations: 63.84 kB / 353 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.1698, allocations: 251.1 kB / 353.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.17, allocations: 52.72 kB / 353.3 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.1704, allocations: 111.4 kB / 353.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1707, allocations: 131.3 kB / 353.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.153e-05/0.1708, allocations: 20 kB / 353.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.1709, allocations: 20 kB / 353.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1711, allocations: 67.67 kB / 353.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.1712, allocations: 119.1 kB / 353.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1717, allocations: 227.4 kB / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1717, allocations: 0 / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1717, allocations: 0 / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.1717, allocations: 0 / 353.9 MB, free: 0.5234 MB / 286.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.001741/0.1735, allocations: 0.6033 MB / 354.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.1736, allocations: 15.83 kB / 354.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.1737, allocations: 42.75 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1738, allocations: 32.56 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.1745, allocations: 312 kB / 354.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.1745, allocations: 15.88 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1746, allocations: 12 kB / 355 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.1749, allocations: 121.6 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.175, allocations: 4 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.175, allocations: 4 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.175, allocations: 4 kB / 355.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1753, allocations: 71.97 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1767, allocations: 0.5352 MB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.1773, allocations: 174.8 kB / 355.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1775, allocations: 60.78 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1775, allocations: 0 / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1776, allocations: 38.55 kB / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1776, allocations: 0 / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002007/0.1796, allocations: 0.6653 MB / 356.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1796, allocations: 55.41 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1801, allocations: 328.6 kB / 357 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1802, allocations: 29.7 kB / 357 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1803, allocations: 164.2 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.1804, allocations: 55.2 kB / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1805, allocations: 37.7 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1807, allocations: 342.8 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1808, allocations: 63.97 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.181, allocations: 63.16 kB / 357.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1813, allocations: 140.8 kB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1813, allocations: 0 / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004803/0.1818, allocations: 226.5 kB / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.1818, allocations: 4 kB / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1818, allocations: 0 / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.1819, allocations: 0 / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.1822, allocations: 59.89 kB / 358.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1822, allocations: 7.938 kB / 358.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1824, allocations: 8 kB / 358.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1824, allocations: 4 kB / 358.2 MB, free: 11.99 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.0001749/0.1826, allocations: 137.8 kB / 358.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1827, allocations: 31.61 kB / 358.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.1832, allocations: 224.5 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.1833, allocations: 3.938 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1833, allocations: 0 / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1833, allocations: 4 kB / 358.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1838, allocations: 321.4 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1838, allocations: 0 / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.1842, allocations: 63.95 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1842, allocations: 0 / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.1843, allocations: 4 kB / 359 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.1843, allocations: 3.938 kB / 359 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.1843, allocations: 3.984 kB / 359 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.1851, allocations: 390.1 kB / 359.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1852, allocations: 108.7 kB / 359.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.1853, allocations: 12 kB / 359.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1855, allocations: 11.92 kB / 359.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.1856, allocations: 11.98 kB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1856, allocations: 4 kB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.1859, allocations: 247 kB / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1859, allocations: 0 / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.1863, allocations: 48 kB / 359.8 MB, free: 10.3 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.001272/0.1876, allocations: 0.9189 MB / 360.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.1881, allocations: 167.9 kB / 360.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1881, allocations: 4 kB / 360.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1883, allocations: 86.55 kB / 361 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1888, allocations: 41.33 kB / 361 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.1947, allocations: 3.074 MB / 364.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.1954, allocations: 0.7673 MB / 364.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1956, allocations: 38.27 kB / 364.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.1959, allocations: 87.41 kB / 365 MB, free: 4.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1959, allocations: 7.938 kB / 365 MB, free: 4.988 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/0.553, allocations: 5.563 MB / 370.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.36, allocations: 16.61 kB / 370.5 MB, free: 25.23 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches