Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000865/0.000865, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008458, allocations: 87.11 kB / 294.4 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002423, allocations: 11.94 kB / 354.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001596/0.2011, allocations: 1.715 MB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.2018, allocations: 0.5226 MB / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.2019, allocations: 0 / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.017e-05/0.202, allocations: 11.86 kB / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2022, allocations: 66.73 kB / 406.9 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.2023, allocations: 47.95 kB / 407 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2026, allocations: 247 kB / 407.2 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2027, allocations: 59.91 kB / 407.3 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2028, allocations: 87.45 kB / 407.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2029, allocations: 127.2 kB / 407.5 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.203, allocations: 8 kB / 407.5 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.203, allocations: 13.47 kB / 407.5 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.2031, allocations: 47.7 kB / 407.5 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2032, allocations: 128.9 kB / 407.7 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2033, allocations: 220.6 kB / 407.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2033, allocations: 0 / 407.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2033, allocations: 0 / 407.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2033, allocations: 0 / 407.9 MB, free: 28.04 MB / 298.7 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.0008005/0.2041, allocations: 0.5645 MB / 408.4 MB, free: 27.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2042, allocations: 8.031 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.2042, allocations: 32.56 kB / 408.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.2045, allocations: 316 kB / 408.8 MB, free: 27.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2045, allocations: 8.125 kB / 408.8 MB, free: 27.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2046, allocations: 16 kB / 408.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2048, allocations: 121.6 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2048, allocations: 0 / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2048, allocations: 4 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2049, allocations: 7.938 kB / 408.9 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.205, allocations: 75.95 kB / 409 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.2056, allocations: 0.5352 MB / 409.5 MB, free: 26.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.2061, allocations: 174.8 kB / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2062, allocations: 69.02 kB / 409.8 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2062, allocations: 3.938 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2062, allocations: 38.56 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2063, allocations: 8 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001254/0.2075, allocations: 0.6611 MB / 410.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2075, allocations: 51.41 kB / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.2078, allocations: 332.6 kB / 410.9 MB, free: 24.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2078, allocations: 25.7 kB / 410.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.2079, allocations: 156.3 kB / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2079, allocations: 67.09 kB / 411.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.208, allocations: 0 / 411.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.208, allocations: 346.8 kB / 411.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2082, allocations: 63.91 kB / 411.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.2083, allocations: 65.3 kB / 411.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2085, allocations: 151.4 kB / 411.7 MB, free: 23.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2085, allocations: 3.938 kB / 411.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002835/0.2088, allocations: 213.2 kB / 411.9 MB, free: 23.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2088, allocations: 8 kB / 411.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2088, allocations: 0 / 411.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2088, allocations: 0 / 411.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2091, allocations: 59.89 kB / 412 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2091, allocations: 7.938 kB / 412 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.2093, allocations: 8 kB / 412 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2093, allocations: 4 kB / 412 MB, free: 23.61 MB / 298.7 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 7.832e-05/0.2094, allocations: 141.7 kB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2094, allocations: 31.62 kB / 412.2 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.2098, allocations: 224.5 kB / 412.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2098, allocations: 0 / 412.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2098, allocations: 7.938 kB / 412.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2098, allocations: 3.984 kB / 412.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.21, allocations: 317.5 kB / 412.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.21, allocations: 0 / 412.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.2104, allocations: 59.95 kB / 412.8 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2104, allocations: 4 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2104, allocations: 3.984 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2104, allocations: 3.938 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2104, allocations: 3.938 kB / 412.8 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.2109, allocations: 395 kB / 413.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.2109, allocations: 104.9 kB / 413.3 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.211, allocations: 4 kB / 413.3 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.2111, allocations: 12.11 kB / 413.3 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.2112, allocations: 15.92 kB / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2112, allocations: 8 kB / 413.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.2114, allocations: 251 kB / 413.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2114, allocations: 0 / 413.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.2116, allocations: 44 kB / 413.6 MB, free: 21.91 MB / 298.7 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 7.877e-05/0.2117, allocations: 114 kB / 413.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.212, allocations: 166.5 kB / 413.9 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.212, allocations: 0 / 413.9 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2121, allocations: 95.8 kB / 414 MB, free: 21.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2125, allocations: 33.84 kB / 414 MB, free: 21.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2135, allocations: 0.881 MB / 414.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2137, allocations: 0.756 MB / 415.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.631e-05/0.2138, allocations: 38.27 kB / 415.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.2139, allocations: 23.44 kB / 415.7 MB, free: 19.75 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2139, allocations: 0 / 415.7 MB, free: 19.75 MB / 298.7 MB Notification: Performance of Templates: time 0.004734/0.2186, allocations: 2.478 MB / 418.2 MB, free: 17.28 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../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