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.001461/0.001461, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001544/0.001544, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 59.91 kB / 378.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4126, allocations: 53.41 MB / 432 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004012/0.4166, allocations: 2.108 MB / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.4179, allocations: 0.5846 MB / 434.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.4181, allocations: 0 / 434.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.4182, allocations: 23.67 kB / 434.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.4186, allocations: 79.41 kB / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.4188, allocations: 51.88 kB / 434.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.4192, allocations: 259.1 kB / 435.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.4194, allocations: 44.91 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.4197, allocations: 119.4 kB / 435.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.4199, allocations: 135.3 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.42, allocations: 20 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.42, allocations: 20 kB / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.4201, allocations: 63.69 kB / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.4203, allocations: 123.1 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.4206, allocations: 239.2 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4206, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4206, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.4207, allocations: 4 kB / 435.8 MB, free: 2.805 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.001415/0.4221, allocations: 0.5395 MB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.4221, allocations: 12.02 kB / 436.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.653e-05/0.4222, allocations: 4.188 kB / 436.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.4222, allocations: 46.69 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.4223, allocations: 28.75 kB / 436.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.4228, allocations: 254.3 kB / 436.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4228, allocations: 11.94 kB / 436.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.4229, allocations: 16 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.4232, allocations: 122.3 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4232, allocations: 4 kB / 436.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.4233, allocations: 4 kB / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4233, allocations: 0 / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.4235, allocations: 79.95 kB / 437 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4245, allocations: 0.4954 MB / 437.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.4251, allocations: 178.6 kB / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4252, allocations: 56.84 kB / 437.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4252, allocations: 4 kB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.4253, allocations: 38.55 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.4253, allocations: 0 / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001827/0.4271, allocations: 0.5866 MB / 438.3 MB, free: 180 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.4272, allocations: 59.34 kB / 438.4 MB, free: 108 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.4278, allocations: 332.6 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4278, allocations: 25.7 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4279, allocations: 164.3 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.428, allocations: 59.48 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.4281, allocations: 37.7 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.4283, allocations: 346.8 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4285, allocations: 59.97 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4286, allocations: 63.34 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4289, allocations: 140.8 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4289, allocations: 0 / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004187/0.4293, allocations: 212.4 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4294, allocations: 12 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4294, allocations: 3.938 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4294, allocations: 3.938 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.4297, allocations: 59.95 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4297, allocations: 0 / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.4299, allocations: 11.88 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.4299, allocations: 8 kB / 439.9 MB, free: 14.56 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.0001692/0.4301, allocations: 149.6 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.4301, allocations: 27.81 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.4306, allocations: 219.2 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4307, allocations: 3.938 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4307, allocations: 0 / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4307, allocations: 0 / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.4311, allocations: 296.5 kB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4311, allocations: 0 / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.4315, allocations: 59.89 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4315, allocations: 4 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4315, allocations: 8 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.4315, allocations: 11.92 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4315, allocations: 0 / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.4322, allocations: 390.2 kB / 441 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.4323, allocations: 31.86 kB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.4323, allocations: 8 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4325, allocations: 15.92 kB / 441.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.4326, allocations: 15.92 kB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4326, allocations: 7.984 kB / 441.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.4329, allocations: 243.1 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4329, allocations: 0 / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.4333, allocations: 48 kB / 441.4 MB, free: 12.98 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.00107/0.4343, allocations: 0.9213 MB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.4348, allocations: 143.9 kB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.4348, allocations: 4 kB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.435, allocations: 79.91 kB / 442.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.4355, allocations: 31.83 kB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.4408, allocations: 3.068 MB / 445.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.4413, allocations: 0.7714 MB / 446.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.4415, allocations: 34.2 kB / 446.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.4418, allocations: 95.39 kB / 446.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.595e-06/0.4418, allocations: 3.938 kB / 446.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.4808, allocations: 5.93 MB / 452.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.28, allocations: 11.98 kB / 452.5 MB, free: 1.934 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 15.01909091201378]