Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001254, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.73 kB / 307.6 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09148, allocations: 50.54 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003208/0.09473, allocations: 2.082 MB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.09575, allocations: 0.5768 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.09588, allocations: 0 / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.09601, allocations: 27.67 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.09631, allocations: 75.42 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.09651, allocations: 51.92 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.0968, allocations: 251.1 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.09696, allocations: 64.69 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.09716, allocations: 107.4 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.09736, allocations: 139.3 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.0974, allocations: 20 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.09745, allocations: 20 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.09754, allocations: 55.7 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.09766, allocations: 131.1 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.0979, allocations: 227.3 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09792, allocations: 0 / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09792, allocations: 0 / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.09794, allocations: 0 / 362 MB, free: 10.25 MB / 302.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.00105/0.09899, allocations: 0.5994 MB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.09903, allocations: 8.031 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.0991, allocations: 32.56 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.09944, allocations: 308 kB / 362.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.09946, allocations: 16.12 kB / 362.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.0995, allocations: 12 kB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.09975, allocations: 118.7 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09977, allocations: 0 / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.09979, allocations: 8 kB / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.0998, allocations: 0 / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.09999, allocations: 83.89 kB / 363.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007727/0.1008, allocations: 0.5314 MB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.1013, allocations: 182.6 kB / 363.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1014, allocations: 56.84 kB / 363.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1015, allocations: 3.938 kB / 363.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1015, allocations: 30.56 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1015, allocations: 0 / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001469/0.103, allocations: 0.6613 MB / 364.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.103, allocations: 55.41 kB / 364.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.1034, allocations: 332.6 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1034, allocations: 33.7 kB / 365 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.1035, allocations: 164.2 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1036, allocations: 55.2 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.1037, allocations: 37.7 kB / 365.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1038, allocations: 338.8 kB / 365.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1039, allocations: 63.91 kB / 365.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1041, allocations: 67.28 kB / 365.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1043, allocations: 144.8 kB / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1043, allocations: 0 / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003679/0.1047, allocations: 213.1 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1047, allocations: 4 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1048, allocations: 4 kB / 366.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1048, allocations: 0 / 366.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1051, allocations: 55.97 kB / 366.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1051, allocations: 7.922 kB / 366.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1053, allocations: 15.98 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.1053, allocations: 8 kB / 366.2 MB, free: 5.777 MB / 302.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.0001225/0.1054, allocations: 138.4 kB / 366.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.1055, allocations: 27.62 kB / 366.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.1059, allocations: 216.6 kB / 366.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1059, allocations: 4 kB / 366.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1059, allocations: 3.938 kB / 366.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.106, allocations: 7.938 kB / 366.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.1063, allocations: 325.4 kB / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1063, allocations: 0 / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.1067, allocations: 55.95 kB / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1067, allocations: 0 / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1067, allocations: 4 kB / 366.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1067, allocations: 4 kB / 366.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1068, allocations: 3.938 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1073, allocations: 396.7 kB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.1074, allocations: 108.8 kB / 367.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1075, allocations: 11.94 kB / 367.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1077, allocations: 0 / 367.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.1077, allocations: 23.91 kB / 367.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1077, allocations: 4 kB / 367.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.108, allocations: 243.1 kB / 367.7 MB, free: 4.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.108, allocations: 0 / 367.7 MB, free: 4.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1083, allocations: 48 kB / 367.8 MB, free: 4.094 MB / 302.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.0001243/0.1084, allocations: 103.2 kB / 367.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1088, allocations: 175.4 kB / 368 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1088, allocations: 3.938 kB / 368 MB, free: 3.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1089, allocations: 83.91 kB / 368.1 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1093, allocations: 39.55 kB / 368.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1107, allocations: 0.7431 MB / 368.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.111, allocations: 0.7675 MB / 369.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.1111, allocations: 23.44 kB / 369.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1111, allocations: 0 / 369.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of Templates: time 0.1569/0.268, allocations: 3.083 MB / 372.8 MB, free: 19.85 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches