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.001481/0.001481, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001622/0.001622, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9604/0.9604, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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 2.194e-06/2.194e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.818e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002466/0.002494, allocations: 2.05 MB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.003442, allocations: 0.5534 MB / 270.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003555, allocations: 4 kB / 270.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.003669, allocations: 23.67 kB / 270.6 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.003938, allocations: 87.28 kB / 270.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.004145, allocations: 55.91 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.004394, allocations: 267 kB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004512, allocations: 36.92 kB / 271.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.004755, allocations: 147.5 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.004885, allocations: 99.61 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.004921, allocations: 20 kB / 271.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.004945, allocations: 20 kB / 271.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.005024, allocations: 67.67 kB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.005094, allocations: 79.58 kB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.005324, allocations: 155.3 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005328, allocations: 4 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005329, allocations: 0 / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.005335, allocations: 0 / 271.7 MB, free: 2.734 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.0007593/0.006095, allocations: 0.6316 MB / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.006141, allocations: 8.922 kB / 272.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.006208, allocations: 40.75 kB / 272.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.006496, allocations: 253.3 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.006511, allocations: 12.31 kB / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.006547, allocations: 16.33 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.00671, allocations: 97.69 kB / 272.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006718, allocations: 4 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.00673, allocations: 4 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.006738, allocations: 4 kB / 272.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.006809, allocations: 35.97 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.007384, allocations: 471.2 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.007681, allocations: 143.2 kB / 273.4 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.007742, allocations: 35.67 kB / 273.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.007761, allocations: 4 kB / 273.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.007783, allocations: 33.39 kB / 273.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.007785, allocations: 0 / 273.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009188/0.008704, allocations: 499.7 kB / 273.9 MB, free: 324 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.008738, allocations: 55.41 kB / 274 MB, free: 256 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.009003, allocations: 358.3 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.009017, allocations: 25.7 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.00911, allocations: 207 kB / 274.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.009162, allocations: 63.48 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.009213, allocations: 43.36 kB / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.009335, allocations: 0.5079 MB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.009391, allocations: 31.97 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.00944, allocations: 30.8 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.009554, allocations: 87.61 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009556, allocations: 0 / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001843/0.00974, allocations: 160.5 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.009754, allocations: 8 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.00976, allocations: 0 / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.009775, allocations: 0 / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.009937, allocations: 59.95 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009942, allocations: 0 / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.01001, allocations: 4 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01002, allocations: 8 kB / 275.5 MB, free: 14.62 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 8.204e-05/0.0101, allocations: 176.4 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01014, allocations: 35.81 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.01035, allocations: 171.4 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01036, allocations: 0 / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01036, allocations: 8 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01036, allocations: 0 / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01055, allocations: 216.5 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01055, allocations: 0 / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.01073, allocations: 63.89 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01074, allocations: 4 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01075, allocations: 11.98 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01076, allocations: 0 / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01076, allocations: 0 / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.01106, allocations: 355.3 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.0111, allocations: 31.8 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01113, allocations: 11.98 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.01121, allocations: 0 / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.01125, allocations: 19.97 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01125, allocations: 0 / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.01141, allocations: 263 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01158, allocations: 44 kB / 276.9 MB, free: 13.17 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.0001018/0.01168, allocations: 103.2 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.01187, allocations: 107.4 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01187, allocations: 4 kB / 277.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.01194, allocations: 66.56 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01222, allocations: 37.14 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01322, allocations: 0.6091 MB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.01327, allocations: 92.3 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.291e-05/0.01334, allocations: 30.28 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.01341, allocations: 32.48 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01341, allocations: 0 / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Templates: time 0.005189/0.0186, allocations: 2.974 MB / 281 MB, free: 9.109 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","",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.933410596102476]