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.001326/0.001326, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3092, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003811/0.3131, allocations: 2.089 MB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3148, allocations: 0.573 MB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.315, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3152, allocations: 27.67 kB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.3156, allocations: 71.42 kB / 412 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3159, allocations: 55.92 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3162, allocations: 267 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3163, allocations: 52.72 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3165, allocations: 115.4 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3167, allocations: 139.2 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.3167, allocations: 20 kB / 412.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.3168, allocations: 20 kB / 412.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.3169, allocations: 55.7 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.317, allocations: 119.2 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3172, allocations: 238.8 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3172, allocations: 4 kB / 413.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3172, allocations: 0 / 413.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3173, allocations: 4 kB / 413.1 MB, free: 13.76 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.001122/0.3184, allocations: 0.5928 MB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3184, allocations: 8.031 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.3185, allocations: 36.55 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.3189, allocations: 304 kB / 414 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3189, allocations: 12.12 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.319, allocations: 15.98 kB / 414 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3193, allocations: 121.6 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3193, allocations: 4 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3193, allocations: 7.938 kB / 414.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3193, allocations: 7.938 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.3195, allocations: 87.83 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3203, allocations: 0.5197 MB / 414.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.3207, allocations: 170.8 kB / 415 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3209, allocations: 60.83 kB / 415 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3209, allocations: 7.938 kB / 415 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3209, allocations: 42.5 kB / 415.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3209, allocations: 0 / 415.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001396/0.3223, allocations: 0.6647 MB / 415.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3224, allocations: 55.39 kB / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.3227, allocations: 332.6 kB / 416.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3227, allocations: 29.7 kB / 416.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.3228, allocations: 152.3 kB / 416.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.3229, allocations: 63.11 kB / 416.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.323, allocations: 33.7 kB / 416.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3231, allocations: 338.8 kB / 416.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3232, allocations: 67.92 kB / 416.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3234, allocations: 59.97 kB / 416.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3236, allocations: 152.3 kB / 417 MB, free: 9.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3237, allocations: 0 / 417 MB, free: 9.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000335/0.324, allocations: 209.2 kB / 417.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.324, allocations: 4 kB / 417.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.324, allocations: 0 / 417.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3241, allocations: 4 kB / 417.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.3243, allocations: 71.89 kB / 417.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3243, allocations: 3.938 kB / 417.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3245, allocations: 4 kB / 417.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3245, allocations: 8 kB / 417.3 MB, free: 9.293 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.0001122/0.3246, allocations: 129.8 kB / 417.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.3247, allocations: 31.72 kB / 417.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.3251, allocations: 220.5 kB / 417.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3251, allocations: 4 kB / 417.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3251, allocations: 3.938 kB / 417.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3251, allocations: 3.984 kB / 417.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.3255, allocations: 321.4 kB / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3255, allocations: 0 / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.3258, allocations: 55.95 kB / 418 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3258, allocations: 4 kB / 418 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3259, allocations: 11.92 kB / 418.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3259, allocations: 0 / 418.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3259, allocations: 11.94 kB / 418.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.3264, allocations: 382.9 kB / 418.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.3265, allocations: 108.8 kB / 418.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3266, allocations: 4 kB / 418.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3268, allocations: 7.984 kB / 418.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3268, allocations: 19.92 kB / 418.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3268, allocations: 4 kB / 418.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.3271, allocations: 251 kB / 418.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3271, allocations: 0 / 418.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3274, allocations: 40 kB / 418.9 MB, free: 7.609 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.0001125/0.3275, allocations: 107.2 kB / 419 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.3278, allocations: 154.5 kB / 419.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3278, allocations: 4 kB / 419.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.328, allocations: 87.89 kB / 419.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3283, allocations: 36.64 kB / 419.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3296, allocations: 0.722 MB / 420 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.33, allocations: 0.7675 MB / 420.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.599e-05/0.3301, allocations: 26.28 kB / 420.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.3301, allocations: 27.42 kB / 420.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3302, allocations: 3.938 kB / 420.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of Templates: time 0.006388/0.3365, allocations: 2.743 MB / 423.5 MB, free: 2.922 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/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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches