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.007739/0.007739, allocations: 103.6 kB / 21.97 MB, free: 5.211 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.001588/0.001588, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.586/1.586, allocations: 230.6 MB / 259 MB, free: 7.996 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.002038/0.002038, allocations: 71.88 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 53.37 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003694/0.3685, allocations: 2.112 MB / 435.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3697, allocations: 0.5768 MB / 435.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3698, allocations: 4 kB / 435.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.37, allocations: 23.67 kB / 435.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3703, allocations: 79.42 kB / 436 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3705, allocations: 55.86 kB / 436 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.3708, allocations: 263.1 kB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.371, allocations: 44.84 kB / 436.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.3712, allocations: 119.4 kB / 436.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3714, allocations: 135.3 kB / 436.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3714, allocations: 16 kB / 436.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.3715, allocations: 28 kB / 436.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.3715, allocations: 59.7 kB / 436.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3717, allocations: 119.2 kB / 436.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.372, allocations: 240 kB / 437 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.372, allocations: 0 / 437 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.372, allocations: 0 / 437 MB, free: 3.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.372, allocations: 4 kB / 437 MB, free: 3.074 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.001151/0.3732, allocations: 0.5279 MB / 437.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3732, allocations: 8.031 kB / 437.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.3733, allocations: 36.75 kB / 437.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3737, allocations: 254.4 kB / 437.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3737, allocations: 8.125 kB / 437.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.3737, allocations: 15.98 kB / 437.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.374, allocations: 129.5 kB / 438 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.374, allocations: 0 / 438 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.374, allocations: 8 kB / 438 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.374, allocations: 0 / 438 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3742, allocations: 79.89 kB / 438.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.3751, allocations: 0.4915 MB / 438.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.3756, allocations: 178.8 kB / 438.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3758, allocations: 52.83 kB / 438.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3758, allocations: 11.88 kB / 438.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3758, allocations: 34.56 kB / 438.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3758, allocations: 0 / 438.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001571/0.3774, allocations: 0.6033 MB / 439.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3775, allocations: 55.41 kB / 439.5 MB, free: 444 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.3779, allocations: 332.6 kB / 439.8 MB, free: 104 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3779, allocations: 29.7 kB / 439.9 MB, free: 68 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3781, allocations: 160.3 kB / 440 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.3781, allocations: 63.47 kB / 440.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.3782, allocations: 33.72 kB / 440.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3784, allocations: 342.8 kB / 440.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3785, allocations: 63.91 kB / 440.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3787, allocations: 59.97 kB / 440.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.379, allocations: 147 kB / 440.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.379, allocations: 4 kB / 440.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004053/0.3794, allocations: 212 kB / 440.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3794, allocations: 4 kB / 440.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3794, allocations: 4 kB / 440.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3794, allocations: 0 / 440.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.3797, allocations: 63.89 kB / 441 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3797, allocations: 3.938 kB / 441 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3799, allocations: 8 kB / 441 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3799, allocations: 11.98 kB / 441 MB, free: 14.88 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.0001567/0.3801, allocations: 129.8 kB / 441.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.3801, allocations: 27.81 kB / 441.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.3806, allocations: 220.5 kB / 441.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3806, allocations: 4 kB / 441.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3806, allocations: 7.875 kB / 441.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3806, allocations: 3.984 kB / 441.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.381, allocations: 296.4 kB / 441.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.381, allocations: 4 kB / 441.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3814, allocations: 59.95 kB / 441.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3814, allocations: 0 / 441.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3814, allocations: 7.984 kB / 441.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3814, allocations: 0 / 441.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3814, allocations: 3.938 kB / 441.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.382, allocations: 387.1 kB / 442.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3821, allocations: 31.86 kB / 442.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3822, allocations: 11.98 kB / 442.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3823, allocations: 8 kB / 442.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.3824, allocations: 15.91 kB / 442.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3824, allocations: 4.125 kB / 442.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002964/0.3827, allocations: 247.1 kB / 442.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 0 / 442.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.383, allocations: 44 kB / 442.5 MB, free: 13.32 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.0001554/0.3831, allocations: 113.8 kB / 442.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.3835, allocations: 143.9 kB / 442.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3835, allocations: 0 / 442.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3837, allocations: 87.84 kB / 442.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.384, allocations: 33.02 kB / 442.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3856, allocations: 0.7395 MB / 443.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.386, allocations: 0.7597 MB / 444.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3861, allocations: 35.36 kB / 444.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3861, allocations: 0 / 444.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.006108/0.3922, allocations: 3.129 MB / 447.5 MB, free: 8.234 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/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-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: 7.581712434068322]