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.001753/0.001752, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2807, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003208/0.284, allocations: 2.085 MB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2851, allocations: 0.5691 MB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2852, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2854, allocations: 27.67 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.2857, allocations: 75.41 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2859, allocations: 51.92 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2862, allocations: 259 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2864, allocations: 64.64 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2866, allocations: 115.4 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2868, allocations: 127.3 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.2869, allocations: 20 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.441e-05/0.2869, allocations: 20 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.287, allocations: 67.69 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2871, allocations: 115.1 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.2874, allocations: 238.9 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2874, allocations: 0 / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2874, allocations: 0 / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2874, allocations: 0 / 413.8 MB, free: 13.73 MB / 334.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.001132/0.2885, allocations: 0.5967 MB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2886, allocations: 8.031 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2887, allocations: 32.56 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.2891, allocations: 316 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2891, allocations: 12.12 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.2891, allocations: 16 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.2894, allocations: 125.5 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2894, allocations: 3.984 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2894, allocations: 4 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2895, allocations: 7.938 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2896, allocations: 75.91 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.2905, allocations: 0.5236 MB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.291, allocations: 178.7 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2911, allocations: 60.84 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2911, allocations: 3.938 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2912, allocations: 34.56 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.2912, allocations: 0 / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001445/0.2926, allocations: 0.6669 MB / 416.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2927, allocations: 55.41 kB / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.293, allocations: 328.6 kB / 416.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2931, allocations: 29.7 kB / 416.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.2932, allocations: 160.3 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.2932, allocations: 59.09 kB / 417 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.2933, allocations: 41.7 kB / 417.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2934, allocations: 338.8 kB / 417.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2936, allocations: 63.91 kB / 417.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2937, allocations: 67.28 kB / 417.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.294, allocations: 148.8 kB / 417.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.294, allocations: 0 / 417.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003996/0.2944, allocations: 216.4 kB / 417.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2944, allocations: 10.97 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2944, allocations: 0 / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2945, allocations: 0 / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.2947, allocations: 55.91 kB / 417.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2948, allocations: 11.92 kB / 418 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2949, allocations: 8 kB / 418 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2949, allocations: 4 kB / 418 MB, free: 9.262 MB / 334.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.0001301/0.2951, allocations: 129.8 kB / 418.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.2951, allocations: 31.7 kB / 418.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.2956, allocations: 224.5 kB / 418.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2956, allocations: 4 kB / 418.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2956, allocations: 3.938 kB / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2957, allocations: 4 kB / 418.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.296, allocations: 321.4 kB / 418.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.296, allocations: 0 / 418.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.2964, allocations: 63.89 kB / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2964, allocations: 4 kB / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.2964, allocations: 8 kB / 418.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2964, allocations: 0 / 418.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2964, allocations: 7.922 kB / 418.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.297, allocations: 383 kB / 419.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.2971, allocations: 100.8 kB / 419.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2971, allocations: 8 kB / 419.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2973, allocations: 15.98 kB / 419.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.2974, allocations: 11.92 kB / 419.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2974, allocations: 4 kB / 419.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.2977, allocations: 251 kB / 419.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 0 / 419.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.298, allocations: 44 kB / 419.6 MB, free: 7.574 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.0002009/0.2982, allocations: 107.2 kB / 419.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.2986, allocations: 159.8 kB / 419.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2986, allocations: 0 / 419.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2988, allocations: 86.56 kB / 419.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2991, allocations: 37.02 kB / 419.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3005, allocations: 0.7471 MB / 420.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3009, allocations: 0.7675 MB / 421.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.301, allocations: 23.44 kB / 421.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.301, allocations: 0 / 421.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of Templates: time 0.005192/0.3062, allocations: 3.148 MB / 424.6 MB, free: 2.441 MB / 334.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