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.00174/0.00174, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002509/0.002509, allocations: 205.1 kB / 24.47 MB, free: 3.699 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.566/1.566, 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.001598/0.001598, allocations: 51.91 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 53.36 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003619/0.2692, allocations: 1.995 MB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2704, allocations: 0.5534 MB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2705, allocations: 3.938 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2707, allocations: 23.67 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.271, allocations: 83.39 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2712, allocations: 43.94 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.2715, allocations: 267.1 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2717, allocations: 43.86 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.2719, allocations: 115.4 kB / 435.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2721, allocations: 139.2 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.2722, allocations: 20 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.2722, allocations: 20 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.2723, allocations: 63.69 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2724, allocations: 99.33 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.2727, allocations: 246.4 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2728, allocations: 0 / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2728, allocations: 4 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2728, allocations: 0 / 436 MB, free: 3 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.001117/0.2739, allocations: 0.5201 MB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2739, allocations: 12.03 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.274, allocations: 28.75 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2744, allocations: 266.4 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2744, allocations: 12.12 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.2744, allocations: 12 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2747, allocations: 121.6 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2747, allocations: 0 / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.2747, allocations: 8 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2747, allocations: 4 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2749, allocations: 71.97 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.2757, allocations: 439.9 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.2762, allocations: 174.8 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2763, allocations: 52.84 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2763, allocations: 4 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.2764, allocations: 34.5 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.2764, allocations: 0 / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001502/0.2779, allocations: 0.6014 MB / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.2779, allocations: 55.41 kB / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.2783, allocations: 328.6 kB / 438.8 MB, free: 132 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2783, allocations: 29.7 kB / 438.8 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2785, allocations: 168.3 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.2785, allocations: 59.48 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.2786, allocations: 41.64 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2788, allocations: 334.8 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2789, allocations: 63.97 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.279, allocations: 63.91 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2793, allocations: 147.8 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2793, allocations: 0 / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003805/0.2797, allocations: 217.3 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2797, allocations: 4 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2797, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2797, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.28, allocations: 59.97 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.28, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2802, allocations: 15.92 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2802, allocations: 4 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.0001272/0.2803, allocations: 129.8 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.2804, allocations: 31.81 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.2808, allocations: 224.5 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2808, allocations: 4 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2808, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2808, allocations: 7.938 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.2812, allocations: 229 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2812, allocations: 0 / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.2815, allocations: 59.95 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.2815, allocations: 3.984 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2815, allocations: 4 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2815, allocations: 0 / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2815, allocations: 0 / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.2821, allocations: 392.6 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.2822, allocations: 39.84 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2822, allocations: 4 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2824, allocations: 8 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2825, allocations: 11.97 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2825, allocations: 4 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.2828, allocations: 259 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2828, allocations: 0 / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.283, allocations: 43.94 kB / 441.4 MB, free: 13.42 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.0001366/0.2832, allocations: 111.3 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2835, allocations: 146.5 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2835, allocations: 0 / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2837, allocations: 79.91 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.284, allocations: 41.08 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2855, allocations: 0.7433 MB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2856, allocations: 155.5 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.2857, allocations: 27.44 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2857, allocations: 0 / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.005816/0.2915, allocations: 3.229 MB / 445.9 MB, free: 8.848 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 -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: 7.304778941965196]