Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.181e-05, allocations: 6.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003651/0.003683, allocations: 2.023 MB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004839, allocations: 0.5455 MB / 269.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.004953, allocations: 4 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.005109, allocations: 23.67 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.005426, allocations: 87.28 kB / 270 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.00564, allocations: 51.91 kB / 270.1 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.006005, allocations: 275 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.006137, allocations: 36.88 kB / 270.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.006369, allocations: 147.5 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.006554, allocations: 103.6 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.006605, allocations: 20 kB / 270.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.006643, allocations: 20 kB / 270.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.006746, allocations: 63.69 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.006852, allocations: 83.61 kB / 270.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.007187, allocations: 223.1 kB / 271 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.007193, allocations: 4 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.007197, allocations: 7.984 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007203, allocations: 0 / 271 MB, free: 3.016 MB / 250.7 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.001176/0.008378, allocations: 0.6353 MB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.008421, allocations: 8.922 kB / 271.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.008518, allocations: 40.75 kB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.008939, allocations: 260.6 kB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.008954, allocations: 8.312 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.008993, allocations: 16.33 kB / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.009244, allocations: 113.8 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.009258, allocations: 7.938 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.009278, allocations: 12 kB / 272.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.009282, allocations: 0 / 272.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.009457, allocations: 63.97 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.01037, allocations: 0.4953 MB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.01089, allocations: 171.2 kB / 272.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01102, allocations: 51.67 kB / 272.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01104, allocations: 0 / 272.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.01108, allocations: 41.39 kB / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.31e-07/0.01108, allocations: 0 / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001563/0.01264, allocations: 0.5861 MB / 273.5 MB, free: 372 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.0127, allocations: 55.41 kB / 273.6 MB, free: 304 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.01319, allocations: 406.3 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.01322, allocations: 33.7 kB / 274 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.01337, allocations: 207.1 kB / 274.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.01345, allocations: 67.38 kB / 274.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.01354, allocations: 51.36 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.01383, allocations: 0.5196 MB / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.01395, allocations: 47.98 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01407, allocations: 62.97 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.01433, allocations: 135.6 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01434, allocations: 0 / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004884/0.01482, allocations: 204.4 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01484, allocations: 4 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01484, allocations: 0 / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01486, allocations: 4 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.01516, allocations: 59.89 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01516, allocations: 0 / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01531, allocations: 12 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01532, allocations: 4 kB / 275.4 MB, free: 14.45 MB / 266.7 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.0001551/0.01548, allocations: 180.5 kB / 275.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.01555, allocations: 35.8 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.01599, allocations: 207.4 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01599, allocations: 0 / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.016, allocations: 0 / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.016, allocations: 0 / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.01635, allocations: 252.5 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01635, allocations: 0 / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.01674, allocations: 67.89 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01674, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.01676, allocations: 4 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01677, allocations: 4 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01677, allocations: 0 / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.0174, allocations: 423.5 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.01746, allocations: 31.8 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.01751, allocations: 7.984 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.0177, allocations: 12 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.01776, allocations: 11.97 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01777, allocations: 4 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.01809, allocations: 298.9 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01809, allocations: 0 / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01837, allocations: 44 kB / 276.9 MB, free: 12.83 MB / 266.7 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.0001427/0.01851, allocations: 99.25 kB / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.01887, allocations: 159.4 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01887, allocations: 0 / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.01903, allocations: 86.09 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.01941, allocations: 37.14 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.02073, allocations: 0.6287 MB / 277.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.0209, allocations: 163.5 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.021, allocations: 30.27 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.0211, allocations: 24.5 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0211, allocations: 4 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.007683/0.02879, allocations: 2.976 MB / 281.1 MB, free: 8.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.47153292701114]