Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 93.16 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 4 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001725/0.2226, allocations: 1.724 MB / 413.8 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.2234, allocations: 0.6991 MB / 414.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.2235, allocations: 4 kB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.929e-05/0.2236, allocations: 16.48 kB / 414.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2238, allocations: 64.94 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.2239, allocations: 48.56 kB / 414.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.2241, allocations: 239.1 kB / 414.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2243, allocations: 56.3 kB / 414.9 MB, free: 23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2244, allocations: 95.44 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2245, allocations: 127.2 kB / 415.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2246, allocations: 8 kB / 415.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.2246, allocations: 12 kB / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.2247, allocations: 51.69 kB / 415.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.2247, allocations: 124.9 kB / 415.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2249, allocations: 220.5 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2249, allocations: 0 / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2249, allocations: 0 / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2249, allocations: 0 / 415.5 MB, free: 22.37 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.0007617/0.2257, allocations: 0.5684 MB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2257, allocations: 8.031 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.2258, allocations: 32.56 kB / 416.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.226, allocations: 312 kB / 416.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2261, allocations: 12.12 kB / 416.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.2261, allocations: 12 kB / 416.5 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2263, allocations: 117.6 kB / 416.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2263, allocations: 3.938 kB / 416.6 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2263, allocations: 8 kB / 416.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2263, allocations: 11.98 kB / 416.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2265, allocations: 79.95 kB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.2271, allocations: 0.5274 MB / 417.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.2275, allocations: 182.7 kB / 417.4 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2276, allocations: 64.83 kB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2277, allocations: 3.938 kB / 417.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.047e-05/0.2277, allocations: 30.56 kB / 417.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2277, allocations: 0 / 417.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001156/0.2289, allocations: 0.6731 MB / 418.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2289, allocations: 51.41 kB / 418.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.2292, allocations: 332.6 kB / 418.5 MB, free: 19.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2292, allocations: 33.69 kB / 418.6 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.2292, allocations: 152.3 kB / 418.7 MB, free: 18.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2293, allocations: 59.11 kB / 418.8 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.2293, allocations: 7.938 kB / 418.8 MB, free: 18.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.2294, allocations: 342.8 kB / 419.1 MB, free: 18.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2295, allocations: 63.91 kB / 419.2 MB, free: 18.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2296, allocations: 74.53 kB / 419.2 MB, free: 18.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2298, allocations: 144.8 kB / 419.4 MB, free: 18.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2298, allocations: 0 / 419.4 MB, free: 18.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002815/0.2301, allocations: 211.5 kB / 419.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2301, allocations: 8 kB / 419.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2301, allocations: 0 / 419.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2301, allocations: 4 kB / 419.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.2304, allocations: 63.89 kB / 419.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2304, allocations: 7.938 kB / 419.7 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2306, allocations: 8 kB / 419.7 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2306, allocations: 4 kB / 419.7 MB, free: 17.94 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.621e-05/0.2307, allocations: 133.8 kB / 419.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2307, allocations: 31.62 kB / 419.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.2311, allocations: 225.8 kB / 420.1 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2311, allocations: 0 / 420.1 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2311, allocations: 3.938 kB / 420.1 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2311, allocations: 7.984 kB / 420.1 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2313, allocations: 317.5 kB / 420.4 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2314, allocations: 0 / 420.4 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.2317, allocations: 55.95 kB / 420.4 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2317, allocations: 11.94 kB / 420.5 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.2317, allocations: 7.984 kB / 420.5 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2317, allocations: 0 / 420.5 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2317, allocations: 3.938 kB / 420.5 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.2322, allocations: 391.1 kB / 420.9 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.2322, allocations: 108.9 kB / 421 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.2323, allocations: 8.109 kB / 421 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2325, allocations: 8 kB / 421 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2325, allocations: 19.92 kB / 421 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2325, allocations: 7.984 kB / 421 MB, free: 16.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.2327, allocations: 243.1 kB / 421.2 MB, free: 16.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2327, allocations: 0 / 421.2 MB, free: 16.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.233, allocations: 40 kB / 421.3 MB, free: 16.25 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 8.886e-05/0.2331, allocations: 119.2 kB / 421.4 MB, free: 16.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.2334, allocations: 159.8 kB / 421.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2334, allocations: 3.938 kB / 421.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2335, allocations: 91.83 kB / 421.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2339, allocations: 37.09 kB / 421.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2349, allocations: 0.8618 MB / 422.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2351, allocations: 0.7638 MB / 423.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.919e-05/0.2352, allocations: 34.27 kB / 423.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.2352, allocations: 23.44 kB / 423.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2353, allocations: 4 kB / 423.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Templates: time 0.004583/0.2398, allocations: 2.478 MB / 425.8 MB, free: 11.62 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches