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: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 110.2 kB / 17.16 MB, free: 6.082 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.001975/0.001975, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.188/2.188, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 51.61 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1965, allocations: 49.44 MB / 350.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00481/0.2013, allocations: 2.116 MB / 352.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.203, allocations: 0.5574 MB / 352.7 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.2033, allocations: 3.938 kB / 352.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.2036, allocations: 15.8 kB / 352.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005876/0.2043, allocations: 63.62 kB / 352.8 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2046, allocations: 51.88 kB / 352.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.2051, allocations: 239.2 kB / 353.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2053, allocations: 52.72 kB / 353.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.2056, allocations: 103.4 kB / 353.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2058, allocations: 123.3 kB / 353.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.2059, allocations: 12 kB / 353.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.2059, allocations: 12 kB / 353.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.206, allocations: 63.67 kB / 353.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2062, allocations: 107.1 kB / 353.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2064, allocations: 167.9 kB / 353.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2065, allocations: 4 kB / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2065, allocations: 0 / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2065, allocations: 0 / 353.7 MB, free: 1.137 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.001416/0.2079, allocations: 0.5955 MB / 354.3 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.208, allocations: 12.03 kB / 354.3 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.2081, allocations: 28.56 kB / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.2086, allocations: 312 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2086, allocations: 12.12 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.2087, allocations: 15.94 kB / 354.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.209, allocations: 121.6 kB / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.209, allocations: 0 / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.2091, allocations: 8 kB / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2091, allocations: 3.984 kB / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.2093, allocations: 75.97 kB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2104, allocations: 0.5274 MB / 355.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.211, allocations: 174.8 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2111, allocations: 65.03 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2112, allocations: 7.922 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2112, allocations: 34.56 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2112, allocations: 0 / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001775/0.213, allocations: 0.668 MB / 356.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.213, allocations: 51.41 kB / 356.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.2135, allocations: 332.6 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2135, allocations: 29.7 kB / 356.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2136, allocations: 160.3 kB / 356.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.2137, allocations: 59.11 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.2138, allocations: 37.7 kB / 357 MB, free: 13.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.214, allocations: 338.8 kB / 357.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2141, allocations: 59.91 kB / 357.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2143, allocations: 65.66 kB / 357.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.2146, allocations: 139.6 kB / 357.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2146, allocations: 0 / 357.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004363/0.215, allocations: 225.1 kB / 357.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2151, allocations: 4 kB / 357.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.2151, allocations: 0 / 357.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2151, allocations: 8 kB / 357.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.2154, allocations: 51.97 kB / 357.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2155, allocations: 3.938 kB / 357.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2157, allocations: 11.98 kB / 357.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2157, allocations: 4 kB / 357.9 MB, free: 12.67 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.00015/0.2159, allocations: 137.8 kB / 358.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.2159, allocations: 31.61 kB / 358.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.2164, allocations: 224.5 kB / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.2165, allocations: 7.938 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.2165, allocations: 3.938 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2165, allocations: 0 / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.2169, allocations: 317.4 kB / 358.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2169, allocations: 0 / 358.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.2173, allocations: 63.95 kB / 358.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2174, allocations: 4 kB / 358.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2174, allocations: 0 / 358.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2174, allocations: 0 / 358.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2174, allocations: 7.938 kB / 358.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/0.2181, allocations: 393.4 kB / 359.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2182, allocations: 108.9 kB / 359.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.2182, allocations: 4 kB / 359.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2185, allocations: 4 kB / 359.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.2185, allocations: 27.81 kB / 359.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2186, allocations: 3.938 kB / 359.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.2188, allocations: 247.1 kB / 359.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2189, allocations: 0 / 359.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.2192, allocations: 40 kB / 359.5 MB, free: 10.98 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.0001707/0.2194, allocations: 119.2 kB / 359.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.2198, allocations: 155.9 kB / 359.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2198, allocations: 0 / 359.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.22, allocations: 75.91 kB / 359.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.2205, allocations: 41.02 kB / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2223, allocations: 0.8349 MB / 360.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.2227, allocations: 0.7677 MB / 361.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2229, allocations: 27.44 kB / 361.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2229, allocations: 0 / 361.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of Templates: time 0.007261/0.2301, allocations: 3.082 MB / 364.6 MB, free: 5.828 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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