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.001277/0.001277, allocations: 111.6 kB / 17.06 MB, free: 6 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.001156/0.001156, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009987/0.000999, allocations: 39.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2805, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003197/0.2838, allocations: 2.079 MB / 402.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.2848, allocations: 0.5457 MB / 403.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2849, allocations: 11.88 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.285, allocations: 23.67 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2853, allocations: 87.41 kB / 403.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2855, allocations: 51.92 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.2858, allocations: 259.1 kB / 403.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2859, allocations: 56.72 kB / 403.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2861, allocations: 103.4 kB / 403.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2863, allocations: 135.3 kB / 404.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2863, allocations: 23.94 kB / 404.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.2863, allocations: 20 kB / 404.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.2864, allocations: 67.69 kB / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2866, allocations: 111.2 kB / 404.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.2868, allocations: 238.8 kB / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2868, allocations: 0 / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2868, allocations: 0 / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2868, allocations: 0 / 404.5 MB, free: 5.074 MB / 318.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.000998/0.2878, allocations: 0.6045 MB / 405.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2879, allocations: 8.031 kB / 405.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.2879, allocations: 32.56 kB / 405.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.2884, allocations: 312 kB / 405.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2884, allocations: 12.12 kB / 405.5 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2884, allocations: 16 kB / 405.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.2887, allocations: 121.6 kB / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2887, allocations: 0 / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2888, allocations: 0 / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2888, allocations: 4 kB / 405.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.289, allocations: 79.95 kB / 405.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.2898, allocations: 0.5236 MB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.2904, allocations: 178.7 kB / 406.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.2905, allocations: 60.84 kB / 406.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.2905, allocations: 7.875 kB / 406.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.2906, allocations: 38.56 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2906, allocations: 0 / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001437/0.292, allocations: 0.6635 MB / 407.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2921, allocations: 51.41 kB / 407.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.2924, allocations: 332.6 kB / 407.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2925, allocations: 29.7 kB / 407.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2926, allocations: 160.2 kB / 407.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.2926, allocations: 71.02 kB / 407.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.2927, allocations: 41.7 kB / 407.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2928, allocations: 334.8 kB / 408.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.293, allocations: 63.91 kB / 408.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2931, allocations: 61.66 kB / 408.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.2933, allocations: 142.9 kB / 408.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2934, allocations: 0 / 408.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003523/0.2937, allocations: 220.1 kB / 408.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2937, allocations: 8 kB / 408.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2938, allocations: 0 / 408.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2938, allocations: 0 / 408.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.2941, allocations: 59.97 kB / 408.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2941, allocations: 3.938 kB / 408.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2942, allocations: 11.98 kB / 408.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2942, allocations: 4 kB / 408.7 MB, free: 0.6016 MB / 318.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.000113/0.2944, allocations: 129.8 kB / 408.9 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.2944, allocations: 31.72 kB / 408.9 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.2949, allocations: 220.6 kB / 409.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2949, allocations: 4 kB / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2949, allocations: 3.938 kB / 409.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2949, allocations: 0 / 409.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.2952, allocations: 317.4 kB / 409.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2952, allocations: 0 / 409.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.2956, allocations: 67.89 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2956, allocations: 0 / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2957, allocations: 8 kB / 409.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2957, allocations: 3.938 kB / 409.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2957, allocations: 3.938 kB / 409.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.2962, allocations: 393.4 kB / 409.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.2963, allocations: 108.8 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.2963, allocations: 4 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2965, allocations: 8 kB / 410 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.2966, allocations: 19.91 kB / 410 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2966, allocations: 4 kB / 410 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.2969, allocations: 247.1 kB / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2969, allocations: 0 / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2971, allocations: 44 kB / 410.3 MB, free: 14.91 MB / 334.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.0001347/0.2973, allocations: 107.2 kB / 410.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.2976, allocations: 167.7 kB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2976, allocations: 4 kB / 410.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2978, allocations: 79.91 kB / 410.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2982, allocations: 40.73 kB / 410.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.2995, allocations: 0.7187 MB / 411.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2998, allocations: 0.7634 MB / 412.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2999, allocations: 34.27 kB / 412.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.3, allocations: 27.44 kB / 412.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3, allocations: 0 / 412.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.006117/0.3062, allocations: 2.762 MB / 415 MB, free: 10.21 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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