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.001347/0.001347, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00158/0.00158, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.47/1.47, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001999/0.001999, allocations: 63.89 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2371, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003336/0.2405, allocations: 2.096 MB / 434.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2415, allocations: 0.5808 MB / 434.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2416, allocations: 3.938 kB / 434.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.2417, allocations: 23.69 kB / 434.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.242, allocations: 75.47 kB / 434.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.2422, allocations: 59.8 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.2425, allocations: 259.1 kB / 435.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2426, allocations: 44.7 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2429, allocations: 115.4 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2431, allocations: 131.3 kB / 435.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.2431, allocations: 20 kB / 435.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.479e-05/0.2431, allocations: 23.94 kB / 435.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.2432, allocations: 67.7 kB / 435.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2433, allocations: 115.2 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2436, allocations: 248.7 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2436, allocations: 0 / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2436, allocations: 0 / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2436, allocations: 0 / 435.9 MB, free: 3.539 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.001074/0.2447, allocations: 0.5993 MB / 436.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2447, allocations: 8.031 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.2448, allocations: 36.75 kB / 436.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.2452, allocations: 320.2 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2452, allocations: 12.12 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2453, allocations: 12 kB / 436.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2455, allocations: 125.5 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2455, allocations: 0 / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2455, allocations: 4 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2455, allocations: 4 kB / 437 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2457, allocations: 79.89 kB / 437.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.2466, allocations: 0.5198 MB / 437.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.2471, allocations: 178.7 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2472, allocations: 56.84 kB / 437.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2472, allocations: 7.922 kB / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2472, allocations: 34.56 kB / 437.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2472, allocations: 0 / 437.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001508/0.2488, allocations: 0.6682 MB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2488, allocations: 55.41 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.2492, allocations: 328.6 kB / 438.9 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2492, allocations: 29.7 kB / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2493, allocations: 164.3 kB / 439.1 MB, free: 88 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.2494, allocations: 63.47 kB / 439.2 MB, free: 24 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.2495, allocations: 37.7 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2496, allocations: 338.8 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2497, allocations: 63.91 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2499, allocations: 63.91 kB / 439.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2502, allocations: 140.8 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2502, allocations: 0 / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003857/0.2505, allocations: 227.2 kB / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2506, allocations: 4 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2506, allocations: 0 / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2506, allocations: 0 / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.2509, allocations: 59.95 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2509, allocations: 7.922 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.251, allocations: 8 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2511, allocations: 7.984 kB / 440.1 MB, free: 15.06 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.0001259/0.2512, allocations: 138.4 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.2512, allocations: 27.81 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.2517, allocations: 220.6 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2517, allocations: 0 / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2517, allocations: 3.938 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.2518, allocations: 116.8 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2518, allocations: 0 / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.252, allocations: 12 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2521, allocations: 19.92 kB / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000902/0.253, allocations: 335.2 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006549/0.2536, allocations: 474.3 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001505/0.2538, allocations: 71.95 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.254, allocations: 251 kB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Backend: time 2.01e-07/0.254, allocations: 0 / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.2546, allocations: 169.5 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.001389/0.256, allocations: 1.128 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Templates: time 0.007409/0.2634, allocations: 3.253 MB / 446.3 MB, free: 8.816 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.5306767779402435]