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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00362/0.2893, allocations: 1.999 MB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2907, allocations: 0.5456 MB / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2908, allocations: 0 / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.291, allocations: 23.67 kB / 435 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2913, allocations: 79.41 kB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2915, allocations: 59.91 kB / 435.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.2919, allocations: 255.1 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2921, allocations: 44.48 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.2923, allocations: 119.4 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.2925, allocations: 119.3 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.2926, allocations: 20 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.901e-05/0.2926, allocations: 20 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2927, allocations: 63.69 kB / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.2928, allocations: 107.2 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.2931, allocations: 237.8 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2931, allocations: 0 / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2931, allocations: 0 / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2932, allocations: 0 / 436.1 MB, free: 2.836 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.00112/0.2943, allocations: 0.5318 MB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.2943, allocations: 11.98 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.2944, allocations: 32.75 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.2948, allocations: 262.4 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2948, allocations: 12.12 kB / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.2949, allocations: 12 kB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.2951, allocations: 122.2 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2951, allocations: 3.938 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2952, allocations: 4 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2952, allocations: 4 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2953, allocations: 83.95 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.2961, allocations: 431.9 kB / 437.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.2966, allocations: 174.7 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2968, allocations: 68.83 kB / 437.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2968, allocations: 0 / 437.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2968, allocations: 38.5 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.2968, allocations: 0 / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001487/0.2983, allocations: 0.5889 MB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2984, allocations: 59.39 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.2988, allocations: 328.6 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2988, allocations: 29.7 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2989, allocations: 160.3 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.299, allocations: 59.48 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.2991, allocations: 37.7 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2993, allocations: 342.7 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2994, allocations: 59.97 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2995, allocations: 75.23 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.2998, allocations: 144.8 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2998, allocations: 0 / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003737/0.3002, allocations: 212.8 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3002, allocations: 6.5 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3002, allocations: 0 / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3002, allocations: 4 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3005, allocations: 59.89 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3005, allocations: 0 / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3007, allocations: 15.94 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3007, allocations: 4 kB / 440 MB, free: 14.73 MB / 350.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.0001386/0.3008, allocations: 133.8 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.3009, allocations: 31.8 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.3013, allocations: 220.5 kB / 440.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3013, allocations: 4 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3013, allocations: 0 / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3014, allocations: 7.922 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.3017, allocations: 233.1 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3017, allocations: 0 / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.302, allocations: 59.95 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.302, allocations: 7.938 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.302, allocations: 3.984 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.302, allocations: 0 / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.302, allocations: 0 / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.3027, allocations: 394.1 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.3027, allocations: 31.86 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3028, allocations: 12 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.303, allocations: 12.11 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.303, allocations: 11.98 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.303, allocations: 3.984 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3033, allocations: 255 kB / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3033, allocations: 0 / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3036, allocations: 40 kB / 441.4 MB, free: 13.23 MB / 350.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.00013/0.3037, allocations: 107.1 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3041, allocations: 154.4 kB / 441.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3041, allocations: 0 / 441.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3042, allocations: 83.89 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3046, allocations: 35.83 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.306, allocations: 0.7472 MB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.3062, allocations: 151.5 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.3063, allocations: 31.42 kB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3063, allocations: 0 / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Templates: time 0.005748/0.312, allocations: 3.223 MB / 445.9 MB, free: 8.664 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.100913158617914]