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.001643/0.001643, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001893/0.001893, allocations: 217.9 kB / 23 MB, free: 5.574 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.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001823/0.001823, allocations: 63.89 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3049, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003464/0.3083, allocations: 2.114 MB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3094, allocations: 0.573 MB / 432.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.3095, allocations: 0 / 432.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3096, allocations: 27.67 kB / 432.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.3099, allocations: 75.41 kB / 432.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.3101, allocations: 55.86 kB / 432.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.3104, allocations: 263.1 kB / 432.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3105, allocations: 44.7 kB / 433 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3107, allocations: 115.4 kB / 433.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3109, allocations: 131.3 kB / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.311, allocations: 20 kB / 433.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.311, allocations: 20 kB / 433.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.3111, allocations: 63.69 kB / 433.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3112, allocations: 123.1 kB / 433.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3115, allocations: 236 kB / 433.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3115, allocations: 3.984 kB / 433.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3115, allocations: 0 / 433.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3115, allocations: 4 kB / 433.7 MB, free: 3.676 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.001073/0.3126, allocations: 0.6032 MB / 434.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3126, allocations: 8.031 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3127, allocations: 32.75 kB / 434.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3131, allocations: 312.2 kB / 434.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3131, allocations: 12.12 kB / 434.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3131, allocations: 12 kB / 434.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.3135, allocations: 133.5 kB / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3135, allocations: 7.938 kB / 434.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3135, allocations: 4 kB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3135, allocations: 4 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.3137, allocations: 75.91 kB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.3145, allocations: 0.5276 MB / 435.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.315, allocations: 170.7 kB / 435.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3151, allocations: 60.78 kB / 435.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3151, allocations: 3.938 kB / 435.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3152, allocations: 42.55 kB / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3152, allocations: 0 / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001491/0.3167, allocations: 0.6651 MB / 436.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3167, allocations: 51.41 kB / 436.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.3171, allocations: 332.6 kB / 436.7 MB, free: 424 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3171, allocations: 25.7 kB / 436.7 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3172, allocations: 164.3 kB / 436.9 MB, free: 220 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.3173, allocations: 63.47 kB / 436.9 MB, free: 156 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.3174, allocations: 37.7 kB / 437 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3175, allocations: 334.8 kB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3177, allocations: 67.91 kB / 437.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3178, allocations: 70.91 kB / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3181, allocations: 140.8 kB / 437.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3181, allocations: 0 / 437.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003703/0.3184, allocations: 216.8 kB / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3184, allocations: 4 kB / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3185, allocations: 0 / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3185, allocations: 0 / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3188, allocations: 67.89 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3188, allocations: 3.938 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3189, allocations: 8 kB / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3189, allocations: 8 kB / 437.9 MB, free: 15.2 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.0001203/0.319, allocations: 129.8 kB / 438 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.3191, allocations: 31.81 kB / 438 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.3195, allocations: 224.5 kB / 438.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3195, allocations: 4 kB / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3195, allocations: 7.875 kB / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3195, allocations: 0 / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.3199, allocations: 325.4 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3199, allocations: 0 / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.3203, allocations: 59.89 kB / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3203, allocations: 0 / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3203, allocations: 8 kB / 438.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3203, allocations: 3.984 kB / 438.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3203, allocations: 7.938 kB / 438.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.3209, allocations: 385.8 kB / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.321, allocations: 112.9 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.321, allocations: 0 / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3212, allocations: 11.98 kB / 439.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3213, allocations: 15.91 kB / 439.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3213, allocations: 11.94 kB / 439.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.3216, allocations: 255 kB / 439.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3216, allocations: 0 / 439.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3218, allocations: 40 kB / 439.5 MB, free: 13.5 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.0001314/0.322, allocations: 107.2 kB / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3223, allocations: 143.9 kB / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3223, allocations: 0 / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3225, allocations: 83.91 kB / 439.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3228, allocations: 37.08 kB / 439.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3242, allocations: 0.7134 MB / 440.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3246, allocations: 0.7636 MB / 441.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3247, allocations: 34.27 kB / 441.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.3248, allocations: 27.42 kB / 441.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3248, allocations: 0 / 441.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Templates: time 0.00662/0.3314, allocations: 2.828 MB / 444.2 MB, free: 8.75 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.671324046328664]