Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,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.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,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.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.2 MB / 245 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008563/0.0008563, allocations: 96.12 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.0002139, allocations: 8 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08489/0.269, allocations: 79.81 MB / 489.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.2692, allocations: 71.97 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.2797, allocations: 3.754 MB / 493 MB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2797, allocations: 0 / 493 MB, free: 6.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.2798, allocations: 11.94 kB / 493.1 MB, free: 6.961 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008154/0.2806, allocations: 0.5918 MB / 493.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2806, allocations: 8.031 kB / 493.7 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.2807, allocations: 31.62 kB / 493.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2811, allocations: 299.3 kB / 494 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2811, allocations: 8.281 kB / 494 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.2811, allocations: 27.84 kB / 494 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.2817, allocations: 377.6 kB / 494.4 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2817, allocations: 0 / 494.4 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2817, allocations: 4 kB / 494.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2818, allocations: 4 kB / 494.4 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.282, allocations: 95.89 kB / 494.5 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.2826, allocations: 0.5325 MB / 495 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.2833, allocations: 315.2 kB / 495.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2833, allocations: 8.062 kB / 495.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2834, allocations: 42.64 kB / 495.4 MB, free: 4.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.462e-06/0.2834, allocations: 3.938 kB / 495.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00204/0.2854, allocations: 1.228 MB / 496.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.2855, allocations: 146.6 kB / 496.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.2858, allocations: 295.9 kB / 497 MB, free: 2.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2859, allocations: 33.7 kB / 497.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.2859, allocations: 148.7 kB / 497.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.286, allocations: 51.47 kB / 497.3 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.286, allocations: 4 kB / 497.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2862, allocations: 346.8 kB / 497.6 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2863, allocations: 72.83 kB / 497.7 MB, free: 2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.2865, allocations: 286.2 kB / 498 MB, free: 1.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2867, allocations: 124.8 kB / 498.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2867, allocations: 4 kB / 498.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005312/0.2873, allocations: 373.3 kB / 498.4 MB, free: 1.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2873, allocations: 12.19 kB / 498.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2873, allocations: 8 kB / 498.5 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2873, allocations: 12 kB / 498.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2876, allocations: 87.84 kB / 498.6 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.2876, allocations: 19.92 kB / 498.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2878, allocations: 23.95 kB / 498.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2878, allocations: 16 kB / 498.6 MB, free: 0.9414 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.288, allocations: 173.6 kB / 498.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.2884, allocations: 273 kB / 499.1 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.289, allocations: 349.4 kB / 499.4 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.289, allocations: 4 kB / 499.4 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.289, allocations: 0 / 499.4 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.289, allocations: 4 kB / 499.4 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.2894, allocations: 321.3 kB / 499.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2894, allocations: 0 / 499.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.29, allocations: 123.9 kB / 499.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.29, allocations: 8 kB / 499.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.29, allocations: 7.938 kB / 499.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.29, allocations: 4 kB / 499.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.29, allocations: 0 / 499.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.2909, allocations: 0.7166 MB / 0.4888 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.291, allocations: 112.8 kB / 0.489 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.2911, allocations: 15.98 kB / 0.489 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2913, allocations: 8 kB / 0.489 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2913, allocations: 12 kB / 0.489 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2914, allocations: 16 kB / 0.489 GB, free: 14.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.2916, allocations: 243.1 kB / 0.4892 GB, free: 14.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.2916, allocations: 0 / 0.4892 GB, free: 14.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000396/0.292, allocations: 71.88 kB / 0.4893 GB, free: 14.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.2921, allocations: 111.7 kB / 0.4894 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.2926, allocations: 285.2 kB / 0.4897 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2926, allocations: 0 / 0.4897 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.2927, allocations: 24 kB / 0.4897 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2932, allocations: 190.9 kB / 0.4899 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2943, allocations: 0.8145 MB / 0.4907 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2946, allocations: 0.8112 MB / 0.4915 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.463e-05/0.2947, allocations: 35.28 kB / 0.4915 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.2948, allocations: 31.42 kB / 0.4915 GB, free: 12.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2948, allocations: 0 / 0.4915 GB, free: 12.03 MB / 378.7 MB Notification: Performance of Templates: time 0.005835/0.3007, allocations: 2.996 MB / 0.4945 GB, free: 9.047 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches