Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001614/0.001614, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001826/0.001826, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 379.1 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 53.37 MB / 432.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003745/0.2811, allocations: 2.108 MB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2824, allocations: 0.5885 MB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2825, allocations: 0 / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.2827, allocations: 23.67 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.283, allocations: 75.42 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.2832, allocations: 55.86 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2835, allocations: 259.1 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2837, allocations: 44.89 kB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.284, allocations: 119.4 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2842, allocations: 139.3 kB / 435.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.2842, allocations: 20 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.813e-05/0.2843, allocations: 20 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.2844, allocations: 55.7 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2845, allocations: 127.1 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2848, allocations: 240.4 kB / 436.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2848, allocations: 0 / 436.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2848, allocations: 3.938 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2848, allocations: 0 / 436.3 MB, free: 3.121 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.001078/0.2859, allocations: 0.5318 MB / 436.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2859, allocations: 12.03 kB / 436.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.286, allocations: 28.75 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.2864, allocations: 254.4 kB / 437.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2864, allocations: 12.12 kB / 437.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.2864, allocations: 12 kB / 437.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.2867, allocations: 137.4 kB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2867, allocations: 0 / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2867, allocations: 4 kB / 437.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2867, allocations: 4 kB / 437.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2869, allocations: 75.95 kB / 437.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.288, allocations: 0.4915 MB / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.2885, allocations: 174.7 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2887, allocations: 60.83 kB / 438.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.2887, allocations: 3.938 kB / 438.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.2887, allocations: 38.56 kB / 438.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.2887, allocations: 0 / 438.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00157/0.2903, allocations: 0.5882 MB / 438.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.2904, allocations: 59.41 kB / 438.7 MB, free: 500 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.2908, allocations: 332.6 kB / 439.1 MB, free: 160 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.2908, allocations: 25.7 kB / 439.1 MB, free: 128 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.291, allocations: 160.4 kB / 439.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.2911, allocations: 67.38 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.2912, allocations: 29.72 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.2914, allocations: 346.8 kB / 439.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2916, allocations: 67.91 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2918, allocations: 63.91 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2921, allocations: 143.1 kB / 440 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2921, allocations: 0 / 440 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004684/0.2926, allocations: 208 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2926, allocations: 8 kB / 440.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2926, allocations: 0 / 440.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.2926, allocations: 0 / 440.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.293, allocations: 67.89 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.293, allocations: 7.938 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2931, allocations: 8 kB / 440.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2932, allocations: 11.98 kB / 440.3 MB, free: 14.93 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.0001571/0.2933, allocations: 129.8 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.2934, allocations: 27.81 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.2939, allocations: 223.1 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2939, allocations: 4 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2939, allocations: 7.875 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2939, allocations: 7.984 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.2944, allocations: 292.5 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2944, allocations: 0 / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.2948, allocations: 63.88 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2948, allocations: 0 / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2948, allocations: 11.98 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2948, allocations: 0 / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2948, allocations: 3.938 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.2955, allocations: 391.1 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.2956, allocations: 31.86 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.2956, allocations: 7.984 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.2958, allocations: 4 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2958, allocations: 19.91 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2959, allocations: 4 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.2962, allocations: 247.1 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2962, allocations: 0 / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.2965, allocations: 44 kB / 441.7 MB, free: 13.37 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.0001723/0.2966, allocations: 111.2 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.297, allocations: 147.9 kB / 442 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.297, allocations: 0 / 442 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2972, allocations: 79.03 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2976, allocations: 37.08 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2992, allocations: 0.7183 MB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.2997, allocations: 0.7597 MB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2998, allocations: 34.27 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.2999, allocations: 19.44 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2999, allocations: 4 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00747/0.3074, allocations: 2.899 MB / 446.5 MB, free: 8.562 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.732005435973406]