Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00137/0.00137, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001426/0.001426, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.91 kB / 378.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2452, allocations: 53.4 MB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003668/0.2489, allocations: 1.995 MB / 433.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2502, allocations: 0.5456 MB / 434.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2504, allocations: 4 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2506, allocations: 23.67 kB / 434.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.251, allocations: 75.42 kB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2512, allocations: 55.91 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.2516, allocations: 263 kB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2518, allocations: 44.56 kB / 434.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.2521, allocations: 123.4 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2524, allocations: 123.3 kB / 434.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.2524, allocations: 20 kB / 434.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.2525, allocations: 20 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.2525, allocations: 59.75 kB / 435 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2527, allocations: 95.27 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.253, allocations: 237.4 kB / 435.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.253, allocations: 3.984 kB / 435.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.253, allocations: 4 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.253, allocations: 0 / 435.3 MB, free: 2.844 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.001284/0.2543, allocations: 0.524 MB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2544, allocations: 11.98 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.2544, allocations: 32.75 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.2549, allocations: 262.4 kB / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2549, allocations: 12.12 kB / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.2549, allocations: 12 kB / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.2552, allocations: 126.2 kB / 436.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2552, allocations: 0 / 436.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2552, allocations: 12 kB / 436.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2552, allocations: 0 / 436.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2554, allocations: 79.95 kB / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.2563, allocations: 436 kB / 436.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.2568, allocations: 178.7 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2569, allocations: 60.83 kB / 437 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2569, allocations: 0 / 437 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.257, allocations: 42.44 kB / 437.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.257, allocations: 0 / 437.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001646/0.2586, allocations: 0.5999 MB / 437.7 MB, free: 352 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.2587, allocations: 51.41 kB / 437.7 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.2591, allocations: 332.6 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2592, allocations: 29.7 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2593, allocations: 156.3 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.2594, allocations: 67.45 kB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.2594, allocations: 37.7 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2596, allocations: 338.8 kB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2597, allocations: 63.97 kB / 438.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2599, allocations: 71.22 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.2602, allocations: 140.8 kB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2602, allocations: 0 / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003951/0.2606, allocations: 213 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2606, allocations: 11.98 kB / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2606, allocations: 0 / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.2606, allocations: 0 / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2609, allocations: 59.91 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2609, allocations: 4 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.2611, allocations: 15.92 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2611, allocations: 4 kB / 439.2 MB, free: 14.73 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.000135/0.2612, allocations: 125.8 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.2613, allocations: 27.81 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.2618, allocations: 228.5 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2618, allocations: 0 / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2618, allocations: 0 / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2618, allocations: 11.94 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.2621, allocations: 225.1 kB / 439.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2621, allocations: 0 / 439.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.2625, allocations: 63.89 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2625, allocations: 3.984 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2625, allocations: 0 / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2625, allocations: 4 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2625, allocations: 3.938 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.2632, allocations: 388.8 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.2632, allocations: 35.86 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.2633, allocations: 12.11 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2635, allocations: 12 kB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.2635, allocations: 11.97 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2635, allocations: 4 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.2638, allocations: 247 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2638, allocations: 0 / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.2641, allocations: 48 kB / 440.7 MB, free: 13.25 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.0001385/0.2643, allocations: 111.1 kB / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.2646, allocations: 147.9 kB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2646, allocations: 0 / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.2648, allocations: 83.91 kB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2652, allocations: 29.08 kB / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2668, allocations: 0.726 MB / 441.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.267, allocations: 151.5 kB / 441.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.2672, allocations: 34.27 kB / 441.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2673, allocations: 23.44 kB / 442 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2673, allocations: 0 / 442 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Templates: time 0.008349/0.2757, allocations: 3.147 MB / 445.1 MB, free: 8.812 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.686915757134557]