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.001864/0.001864, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002272/0.002272, allocations: 181.6 kB / 23.71 MB, free: 4.695 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.48/1.48, allocations: 225.6 MB / 252.5 MB, free: 13 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.001693/0.001693, allocations: 47.91 kB / 371 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2846, allocations: 52.17 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003274/0.2879, allocations: 2.091 MB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.2889, allocations: 0.5574 MB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.289, allocations: 0 / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2891, allocations: 27.67 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.2893, allocations: 79.41 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2895, allocations: 63.86 kB / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.2898, allocations: 263.1 kB / 426.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.29, allocations: 36.86 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2901, allocations: 115.4 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2903, allocations: 139.2 kB / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.2904, allocations: 20 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.821e-05/0.2904, allocations: 20 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.2905, allocations: 63.62 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2906, allocations: 123.2 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2909, allocations: 236 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2909, allocations: 0 / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2909, allocations: 0 / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2909, allocations: 3.938 kB / 427 MB, free: 10.82 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.001096/0.292, allocations: 0.5279 MB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.292, allocations: 12.03 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.2921, allocations: 32.7 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2925, allocations: 258.5 kB / 427.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2925, allocations: 8.125 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.2925, allocations: 23.89 kB / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.2928, allocations: 125.6 kB / 427.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2928, allocations: 0 / 427.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2928, allocations: 4 kB / 427.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2928, allocations: 4 kB / 427.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.293, allocations: 71.95 kB / 428 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.2939, allocations: 499.4 kB / 428.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.2944, allocations: 181.4 kB / 428.7 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.2945, allocations: 65.08 kB / 428.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2946, allocations: 7.938 kB / 428.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2946, allocations: 34.56 kB / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2946, allocations: 0 / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001544/0.2961, allocations: 0.5857 MB / 429.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2962, allocations: 55.41 kB / 429.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2966, allocations: 336.5 kB / 429.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2966, allocations: 29.7 kB / 429.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2967, allocations: 156.3 kB / 429.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.2968, allocations: 67.42 kB / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.2969, allocations: 41.7 kB / 430 MB, free: 7.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.297, allocations: 338.8 kB / 430.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2972, allocations: 63.91 kB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.2973, allocations: 63.16 kB / 430.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2976, allocations: 140.8 kB / 430.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2976, allocations: 0 / 430.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003979/0.298, allocations: 211.1 kB / 430.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.298, allocations: 15.94 kB / 430.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.298, allocations: 4 kB / 430.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.298, allocations: 3.938 kB / 430.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.2983, allocations: 55.97 kB / 430.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2984, allocations: 7.938 kB / 430.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2985, allocations: 11.98 kB / 430.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2985, allocations: 4 kB / 430.9 MB, free: 6.629 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.0001319/0.2987, allocations: 129.8 kB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2987, allocations: 31.81 kB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.2992, allocations: 220.6 kB / 431.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2992, allocations: 0 / 431.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2992, allocations: 3.938 kB / 431.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2992, allocations: 0 / 431.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.2996, allocations: 300.5 kB / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2996, allocations: 0 / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.3, allocations: 63.89 kB / 431.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3, allocations: 11.92 kB / 431.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3, allocations: 4 kB / 431.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3, allocations: 0 / 431.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3, allocations: 3.938 kB / 431.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.3006, allocations: 387.1 kB / 432.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.3007, allocations: 35.84 kB / 432.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3007, allocations: 4 kB / 432.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3009, allocations: 12 kB / 432.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.301, allocations: 19.84 kB / 432.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.301, allocations: 4 kB / 432.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.3013, allocations: 247 kB / 432.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3013, allocations: 0 / 432.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3016, allocations: 48 kB / 432.4 MB, free: 5.055 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.0001185/0.3017, allocations: 99.25 kB / 432.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.302, allocations: 155.8 kB / 432.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3021, allocations: 0 / 432.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3022, allocations: 82.56 kB / 432.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3026, allocations: 37 kB / 432.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.304, allocations: 0.7229 MB / 433.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3044, allocations: 0.7751 MB / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3045, allocations: 26.28 kB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.3046, allocations: 27.42 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3046, allocations: 0 / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Templates: time 0.007159/0.3117, allocations: 2.895 MB / 437.2 MB, free: 244 kB / 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.827150264754891]