Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.959/1.959, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 51.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3562, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004146/0.3603, allocations: 1.999 MB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3616, allocations: 0.5457 MB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3618, allocations: 0 / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3619, allocations: 23.67 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.3622, allocations: 79.41 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3625, allocations: 55.86 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.3629, allocations: 263 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3631, allocations: 48.56 kB / 435.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.3633, allocations: 123.4 kB / 435.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.3636, allocations: 135.3 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.3636, allocations: 20 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.3637, allocations: 20 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.3638, allocations: 55.7 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3639, allocations: 103.4 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3643, allocations: 241.7 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3643, allocations: 0 / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3643, allocations: 0 / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3643, allocations: 0 / 436 MB, free: 3.016 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.001307/0.3656, allocations: 0.5382 MB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3656, allocations: 8.031 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.3657, allocations: 32.75 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3662, allocations: 254.4 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3662, allocations: 12.12 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.3663, allocations: 12 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.3666, allocations: 125.6 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3666, allocations: 0 / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3666, allocations: 0 / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3666, allocations: 4 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.3669, allocations: 79.91 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.3679, allocations: 436 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.3685, allocations: 170.8 kB / 437.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3687, allocations: 64.78 kB / 437.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3687, allocations: 0 / 437.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3687, allocations: 34.5 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3687, allocations: 0 / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001894/0.3706, allocations: 0.5998 MB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3707, allocations: 55.41 kB / 438.4 MB, free: 480 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.3712, allocations: 332.6 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.3713, allocations: 25.7 kB / 438.8 MB, free: 108 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3714, allocations: 164.4 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.3716, allocations: 63.48 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.3717, allocations: 33.7 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3719, allocations: 334.8 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3721, allocations: 63.97 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3723, allocations: 67.84 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.3726, allocations: 151.8 kB / 439.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3726, allocations: 0 / 439.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005275/0.3732, allocations: 213.4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3732, allocations: 4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3732, allocations: 0 / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3732, allocations: 4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.3736, allocations: 63.84 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3736, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3738, allocations: 15.92 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.3738, allocations: 8 kB / 439.9 MB, free: 14.91 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.0001629/0.374, allocations: 125.8 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.3741, allocations: 27.81 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.3747, allocations: 228.4 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3747, allocations: 8 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3747, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3747, allocations: 3.938 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3752, allocations: 233 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3752, allocations: 4 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3757, allocations: 55.95 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3757, allocations: 0 / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3757, allocations: 8 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3757, allocations: 3.984 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3757, allocations: 3.938 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.3765, allocations: 393.6 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.3766, allocations: 31.86 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3767, allocations: 0 / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.3769, allocations: 12 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.377, allocations: 11.97 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.377, allocations: 8 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003673/0.3774, allocations: 255 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3774, allocations: 0 / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.3777, allocations: 40 kB / 441.4 MB, free: 13.43 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.0001547/0.3779, allocations: 107.2 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.3784, allocations: 147.9 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3784, allocations: 0 / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3786, allocations: 83.91 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.3791, allocations: 37.02 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3809, allocations: 0.7135 MB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3811, allocations: 167.4 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3813, allocations: 30.28 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3814, allocations: 27.36 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3814, allocations: 4 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.009801/0.3912, allocations: 3.204 MB / 445.9 MB, free: 8.922 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.923018642002717]