Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 107.5 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 193.2 kB / 23.71 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 39.94 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004888/0.2822, allocations: 1.986 MB / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2833, allocations: 0.5185 MB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2835, allocations: 3.938 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2836, allocations: 23.67 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.284, allocations: 95.33 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2841, allocations: 43.94 kB / 425.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.2846, allocations: 263.1 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2848, allocations: 43.33 kB / 426.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2849, allocations: 111.4 kB / 426.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2852, allocations: 127.2 kB / 426.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.2852, allocations: 20 kB / 426.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.2852, allocations: 20 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2853, allocations: 59.7 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2855, allocations: 95.38 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.2858, allocations: 246.4 kB / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2858, allocations: 0 / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2858, allocations: 0 / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2858, allocations: 0 / 426.7 MB, free: 10.81 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.001157/0.287, allocations: 0.5307 MB / 427.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.287, allocations: 8.031 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.2871, allocations: 40.7 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.2875, allocations: 258.4 kB / 427.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2875, allocations: 12.12 kB / 427.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2876, allocations: 19.95 kB / 427.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2878, allocations: 117.6 kB / 427.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2878, allocations: 0 / 427.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.2879, allocations: 8 kB / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2879, allocations: 0 / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2881, allocations: 79.95 kB / 427.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.2889, allocations: 436 kB / 428.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.2894, allocations: 178.7 kB / 428.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2895, allocations: 56.84 kB / 428.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2895, allocations: 0 / 428.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2896, allocations: 38.5 kB / 428.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.2896, allocations: 0 / 428.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001532/0.2911, allocations: 0.5966 MB / 429.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2912, allocations: 51.41 kB / 429.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.2916, allocations: 332.6 kB / 429.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2916, allocations: 29.7 kB / 429.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2917, allocations: 152.4 kB / 429.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.2918, allocations: 71.42 kB / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.2919, allocations: 37.7 kB / 429.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2921, allocations: 338.8 kB / 430.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2922, allocations: 59.97 kB / 430.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2923, allocations: 65.78 kB / 430.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.2926, allocations: 146.7 kB / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2926, allocations: 0 / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003941/0.293, allocations: 217.3 kB / 430.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.293, allocations: 10.19 kB / 430.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.293, allocations: 7.984 kB / 430.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.293, allocations: 3.938 kB / 430.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2933, allocations: 51.97 kB / 430.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2933, allocations: 4 kB / 430.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2935, allocations: 15.92 kB / 430.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2935, allocations: 4 kB / 430.6 MB, free: 6.703 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.0001476/0.2936, allocations: 129.8 kB / 430.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.2937, allocations: 27.81 kB / 430.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.2942, allocations: 228.6 kB / 431 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2942, allocations: 0 / 431 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2942, allocations: 4 kB / 431 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2942, allocations: 3.938 kB / 431 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.2945, allocations: 229.1 kB / 431.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2945, allocations: 0 / 431.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.2949, allocations: 59.95 kB / 431.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2949, allocations: 0 / 431.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2949, allocations: 4 kB / 431.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2949, allocations: 4 kB / 431.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2949, allocations: 3.984 kB / 431.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.2956, allocations: 406.2 kB / 431.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.2956, allocations: 27.78 kB / 431.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2957, allocations: 8.062 kB / 431.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2959, allocations: 8 kB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2959, allocations: 11.97 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2959, allocations: 4 kB / 431.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.2962, allocations: 255 kB / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2962, allocations: 4 kB / 432 MB, free: 5.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2965, allocations: 44 kB / 432.1 MB, free: 5.207 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.0001356/0.2966, allocations: 103.2 kB / 432.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.297, allocations: 150.8 kB / 432.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.297, allocations: 0 / 432.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2972, allocations: 79.91 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2975, allocations: 36.44 kB / 432.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.299, allocations: 0.7227 MB / 433.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2992, allocations: 163.3 kB / 433.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2993, allocations: 38.22 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2994, allocations: 31.42 kB / 433.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2994, allocations: 0 / 433.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Templates: time 0.007886/0.3073, allocations: 3.146 MB / 436.5 MB, free: 0.7656 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.6150591764599085]