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.001146/0.001146, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002556, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008087/0.0008087, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009496/0.001758, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9006/0.9006, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08229/0.9829, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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 1.503e-06/1.503e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.944e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003167/0.003187, allocations: 2.127 MB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.004175, allocations: 0.5727 MB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.00428, allocations: 4 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.00435, allocations: 23.67 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.004521, allocations: 79.36 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.004687, allocations: 59.84 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.004915, allocations: 263 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005018, allocations: 50.84 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.005289, allocations: 228.5 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005412, allocations: 103.6 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.00544, allocations: 19.94 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.521e-05/0.005465, allocations: 20 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.005517, allocations: 31.88 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.005569, allocations: 51.81 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.005725, allocations: 151.3 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.005737, allocations: 3.938 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005738, allocations: 0 / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.005747, allocations: 0 / 248.3 MB, free: 10.54 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.0006073/0.006355, allocations: 0.5262 MB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.006383, allocations: 12.03 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.006425, allocations: 24.92 kB / 248.9 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.006624, allocations: 218.5 kB / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.006634, allocations: 4.375 kB / 249.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.006661, allocations: 20.31 kB / 249.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.006778, allocations: 90.41 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.006784, allocations: 0 / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.006794, allocations: 8 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006799, allocations: 4 kB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.006845, allocations: 25.95 kB / 249.2 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.007224, allocations: 282.6 kB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.007445, allocations: 134.4 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.007479, allocations: 24.84 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.007493, allocations: 0 / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.007512, allocations: 38.56 kB / 249.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.007513, allocations: 0 / 249.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007807/0.008294, allocations: 428.8 kB / 250.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.008321, allocations: 59.33 kB / 250.2 MB, free: 8.531 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008465, allocations: 267 kB / 250.4 MB, free: 8.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.008478, allocations: 29.7 kB / 250.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.008521, allocations: 132.9 kB / 250.6 MB, free: 8.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.008565, allocations: 75.41 kB / 250.7 MB, free: 8.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.008607, allocations: 33.7 kB / 250.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.008684, allocations: 342.8 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.008713, allocations: 19.98 kB / 251 MB, free: 7.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.008741, allocations: 19.98 kB / 251.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.008818, allocations: 71.56 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008819, allocations: 0 / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001197/0.008939, allocations: 108.6 kB / 251.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.008952, allocations: 7.938 kB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008956, allocations: 0 / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.008964, allocations: 8 kB / 251.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.009158, allocations: 67.95 kB / 251.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.00916, allocations: 0 / 251.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.009217, allocations: 11.98 kB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.009224, allocations: 4 kB / 251.3 MB, free: 7.309 MB / 250.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 6.177e-05/0.009286, allocations: 116.6 kB / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.009317, allocations: 27.92 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.009465, allocations: 128.9 kB / 251.6 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.009467, allocations: 4 kB / 251.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.009468, allocations: 0 / 251.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.009474, allocations: 7.984 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.009629, allocations: 149.8 kB / 251.8 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00963, allocations: 0 / 251.8 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.00987, allocations: 83.84 kB / 251.8 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.009902, allocations: 31.75 kB / 251.9 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009905, allocations: 11.94 kB / 251.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.009919, allocations: 4 kB / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00992, allocations: 0 / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009921, allocations: 0 / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01012, allocations: 250.1 kB / 252.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01015, allocations: 11.94 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.01022, allocations: 11.98 kB / 252.2 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.01025, allocations: 7.984 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01025, allocations: 3.984 kB / 252.2 MB, free: 6.418 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.01033, allocations: 112.6 kB / 252.3 MB, free: 6.305 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01033, allocations: 4 kB / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.01048, allocations: 48 kB / 252.3 MB, free: 6.254 MB / 250.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 7.774e-05/0.01056, allocations: 80.42 kB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01068, allocations: 80.05 kB / 252.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.01069, allocations: 7.984 kB / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.01074, allocations: 48.69 kB / 252.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01094, allocations: 63.95 kB / 252.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01242, allocations: 0.5462 MB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.01247, allocations: 92.31 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.01254, allocations: 30.27 kB / 253.3 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.01266, allocations: 91.3 kB / 253.4 MB, free: 5.164 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01266, allocations: 0 / 253.4 MB, free: 5.164 MB / 250.7 MB Notification: Performance of Templates: time 0.004997/0.01765, allocations: 3.201 MB / 256.6 MB, free: 2.051 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4016233263537288]