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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001333, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 104.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008499/0.0008501, allocations: 31.95 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2622, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003085/0.2653, allocations: 2.112 MB / 401.6 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.2663, allocations: 0.5438 MB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2664, allocations: 4 kB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2666, allocations: 19.8 kB / 402.2 MB, free: 30.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.2669, allocations: 59.62 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2671, allocations: 47.94 kB / 402.3 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.2674, allocations: 247.1 kB / 402.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2675, allocations: 60.7 kB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2677, allocations: 103.4 kB / 402.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2678, allocations: 131.3 kB / 402.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2679, allocations: 12 kB / 402.8 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.998e-05/0.2679, allocations: 12 kB / 402.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.268, allocations: 51.7 kB / 402.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.2681, allocations: 111.1 kB / 403 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2683, allocations: 224.6 kB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2683, allocations: 0 / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2683, allocations: 4 kB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2683, allocations: 4 kB / 403.2 MB, free: 29.64 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.0009877/0.2693, allocations: 0.5954 MB / 403.8 MB, free: 29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2694, allocations: 8.031 kB / 403.8 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.2694, allocations: 32.56 kB / 403.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.2698, allocations: 312 kB / 404.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2698, allocations: 12.12 kB / 404.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.2698, allocations: 12 kB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2701, allocations: 117.6 kB / 404.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2701, allocations: 4 kB / 404.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2701, allocations: 4 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2701, allocations: 4 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2703, allocations: 75.95 kB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.271, allocations: 0.5274 MB / 404.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.2714, allocations: 182.7 kB / 405.1 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2715, allocations: 60.83 kB / 405.1 MB, free: 27.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2716, allocations: 7.938 kB / 405.1 MB, free: 27.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.2716, allocations: 34.55 kB / 405.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.2716, allocations: 0 / 405.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001289/0.2729, allocations: 0.6594 MB / 405.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2729, allocations: 55.41 kB / 405.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.2732, allocations: 336.5 kB / 406.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2733, allocations: 29.7 kB / 406.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2733, allocations: 156.3 kB / 406.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.2734, allocations: 67.08 kB / 406.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.2734, allocations: 37.72 kB / 406.5 MB, free: 26.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.2735, allocations: 338.8 kB / 406.8 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2736, allocations: 63.91 kB / 406.9 MB, free: 25.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2737, allocations: 59.97 kB / 407 MB, free: 25.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.274, allocations: 147.1 kB / 407.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.274, allocations: 0 / 407.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002835/0.2743, allocations: 217.2 kB / 407.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2743, allocations: 4 kB / 407.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2743, allocations: 0 / 407.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2743, allocations: 0 / 407.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2746, allocations: 63.95 kB / 407.4 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2746, allocations: 7.875 kB / 407.4 MB, free: 25.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2747, allocations: 8 kB / 407.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2748, allocations: 11.97 kB / 407.4 MB, free: 25.17 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 9.13e-05/0.2749, allocations: 137.7 kB / 407.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.2749, allocations: 31.62 kB / 407.6 MB, free: 24.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.2753, allocations: 212.7 kB / 407.8 MB, free: 24.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2753, allocations: 0 / 407.8 MB, free: 24.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2753, allocations: 7.938 kB / 407.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2753, allocations: 3.984 kB / 407.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.2756, allocations: 321.4 kB / 408.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2756, allocations: 0 / 408.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.2759, allocations: 63.89 kB / 408.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2759, allocations: 0 / 408.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.276, allocations: 11.98 kB / 408.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.276, allocations: 0 / 408.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.276, allocations: 3.938 kB / 408.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.2795, allocations: 2.619 MB / 410.8 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.2795, allocations: 108.8 kB / 410.9 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2796, allocations: 8.062 kB / 410.9 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2798, allocations: 11.98 kB / 410.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.2798, allocations: 15.98 kB / 410.9 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2798, allocations: 4 kB / 410.9 MB, free: 21.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.28, allocations: 247 kB / 411.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2801, allocations: 0 / 411.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.2804, allocations: 72 kB / 411.3 MB, free: 21.09 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 0.0001114/0.2805, allocations: 117.9 kB / 411.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.2808, allocations: 147.9 kB / 411.5 MB, free: 20.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2808, allocations: 0 / 411.5 MB, free: 20.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.281, allocations: 87.81 kB / 411.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2813, allocations: 45.38 kB / 411.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2826, allocations: 0.9883 MB / 412.6 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2828, allocations: 0.7677 MB / 413.4 MB, free: 18.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.283, allocations: 35.28 kB / 413.4 MB, free: 18.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2831, allocations: 35.42 kB / 413.5 MB, free: 18.8 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2831, allocations: 0 / 413.5 MB, free: 18.8 MB / 298.7 MB Notification: Performance of Templates: time 0.006134/0.2892, allocations: 3.606 MB / 417.1 MB, free: 15.24 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@2/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