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.001663/0.001663, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002035, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.03 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003413/0.2706, allocations: 2.093 MB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2718, allocations: 0.5652 MB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2719, allocations: 4 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2721, allocations: 27.61 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.2724, allocations: 75.47 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2726, allocations: 55.81 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.2729, allocations: 259.1 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2731, allocations: 56.7 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.2733, allocations: 119.4 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.2735, allocations: 135.3 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.2735, allocations: 16 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.2736, allocations: 24 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.2737, allocations: 59.64 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2738, allocations: 127.2 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.2741, allocations: 238.6 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2741, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2741, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2741, allocations: 4 kB / 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.001123/0.2753, allocations: 0.5993 MB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2753, allocations: 8.031 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.2754, allocations: 32.75 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2758, allocations: 312.2 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2758, allocations: 16.12 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2759, allocations: 12 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2761, allocations: 125.5 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2761, allocations: 0 / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2762, allocations: 7.938 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2762, allocations: 4 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2764, allocations: 79.89 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.2772, allocations: 0.5237 MB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.2777, allocations: 178.7 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2778, allocations: 60.84 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2779, allocations: 7.922 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2779, allocations: 38.5 kB / 415.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2779, allocations: 0 / 415.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001543/0.2795, allocations: 0.6657 MB / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2795, allocations: 55.41 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.2799, allocations: 332.6 kB / 416.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2799, allocations: 25.7 kB / 416.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.28, allocations: 164.3 kB / 417 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.2801, allocations: 63.48 kB / 417.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.2801, allocations: 33.7 kB / 417.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2803, allocations: 338.8 kB / 417.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2804, allocations: 67.91 kB / 417.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2806, allocations: 63.34 kB / 417.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2808, allocations: 140.8 kB / 417.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2809, allocations: 0 / 417.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003584/0.2812, allocations: 222.5 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2813, allocations: 4 kB / 417.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2813, allocations: 0 / 417.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2813, allocations: 0 / 417.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.2816, allocations: 63.95 kB / 418 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.2816, allocations: 7.922 kB / 418 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.2818, allocations: 4 kB / 418 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2818, allocations: 8 kB / 418 MB, free: 9.254 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.0001237/0.2819, allocations: 133.8 kB / 418.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.282, allocations: 27.81 kB / 418.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.2824, allocations: 224.6 kB / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2825, allocations: 0 / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2825, allocations: 0 / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.2826, allocations: 120.8 kB / 418.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.2826, allocations: 7.938 kB / 418.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2828, allocations: 4 kB / 418.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.2829, allocations: 19.98 kB / 418.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008899/0.2838, allocations: 335.3 kB / 418.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006128/0.2844, allocations: 474.3 kB / 419.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000155/0.2846, allocations: 76.02 kB / 419.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.2848, allocations: 255 kB / 419.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of Backend: time 7.61e-07/0.2849, allocations: 0 / 419.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.2854, allocations: 174.4 kB / 419.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of SimCode: time 0.001242/0.2866, allocations: 1.125 MB / 420.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of Templates: time 0.00717/0.2938, allocations: 3.158 MB / 424.1 MB, free: 3.098 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