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/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.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/ModelicaServices trunk/package.mo): time 0.002026/0.002026, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002163, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003125/0.2883, allocations: 2.229 MB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2893, allocations: 0.616 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2894, allocations: 4 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2896, allocations: 27.61 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2898, allocations: 75.41 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.2901, allocations: 71.84 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2904, allocations: 283 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2905, allocations: 68.72 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.2907, allocations: 123.4 kB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2909, allocations: 139.2 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.291, allocations: 24 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.291, allocations: 20 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.2911, allocations: 67.64 kB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2912, allocations: 135.1 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2914, allocations: 262.5 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2915, allocations: 0 / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2915, allocations: 0 / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2915, allocations: 0 / 413.4 MB, free: 13.44 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009798/0.2925, allocations: 0.6229 MB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2925, allocations: 8.031 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.2926, allocations: 36.7 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2929, allocations: 316.6 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2929, allocations: 20.41 kB / 414.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.293, allocations: 16 kB / 414.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.2936, allocations: 369.9 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2936, allocations: 4 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2936, allocations: 4 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2936, allocations: 4 kB / 414.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2938, allocations: 91.89 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.2944, allocations: 0.5211 MB / 415.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.2951, allocations: 322.6 kB / 415.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.2953, allocations: 134.7 kB / 415.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2953, allocations: 7.984 kB / 415.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2954, allocations: 43.16 kB / 415.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.2954, allocations: 0 / 415.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002191/0.2976, allocations: 1.344 MB / 417.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2977, allocations: 146.8 kB / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.298, allocations: 324.6 kB / 417.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2981, allocations: 37.69 kB / 417.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.2982, allocations: 141.1 kB / 417.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.2982, allocations: 47.67 kB / 417.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.2983, allocations: 78.12 kB / 417.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2985, allocations: 346.8 kB / 418.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2986, allocations: 72.83 kB / 418.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.2989, allocations: 310.8 kB / 418.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.2993, allocations: 412.9 kB / 419.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2993, allocations: 11.94 kB / 419.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005752/0.2999, allocations: 404.8 kB / 419.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2999, allocations: 8 kB / 419.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3, allocations: 8.875 kB / 419.5 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.3, allocations: 12 kB / 419.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3003, allocations: 99.83 kB / 419.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3003, allocations: 15.94 kB / 419.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3005, allocations: 31.94 kB / 419.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3005, allocations: 24 kB / 419.7 MB, free: 6.531 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.000159/0.3007, allocations: 165.5 kB / 419.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/0.3012, allocations: 296.9 kB / 420.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.3018, allocations: 383.4 kB / 420.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3019, allocations: 8 kB / 420.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3019, allocations: 0 / 420.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3019, allocations: 3.984 kB / 420.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3022, allocations: 325.3 kB / 420.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3023, allocations: 0 / 420.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.3028, allocations: 123.8 kB / 420.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3028, allocations: 4 kB / 420.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3028, allocations: 12 kB / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3028, allocations: 0 / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3028, allocations: 4 kB / 421 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.3038, allocations: 0.7188 MB / 421.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.3039, allocations: 116.8 kB / 421.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.304, allocations: 16 kB / 421.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3043, allocations: 19.98 kB / 421.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3043, allocations: 4 kB / 421.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3043, allocations: 12 kB / 421.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3046, allocations: 247 kB / 422.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3046, allocations: 0 / 422.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.305, allocations: 60 kB / 422.1 MB, free: 3.938 MB / 334.1 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 (45): * Single equations (assignments): 45 * 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.0001214/0.3051, allocations: 115.1 kB / 422.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005108/0.3057, allocations: 297.7 kB / 422.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3057, allocations: 0 / 422.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.3058, allocations: 28.48 kB / 422.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.3065, allocations: 222.9 kB / 422.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3078, allocations: 0.7477 MB / 423.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3083, allocations: 0.8073 MB / 424.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.3084, allocations: 31.28 kB / 424.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.3085, allocations: 35.42 kB / 424.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3085, allocations: 0 / 424.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.007162/0.3156, allocations: 3.645 MB / 428.1 MB, free: 13.96 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches