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.0009969/0.0009969, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.00104/0.00104, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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 2.023e-06/2.023e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.202e-05, allocations: 5.125 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002288/0.00231, allocations: 2.053 MB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.003086, allocations: 0.565 MB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.003185, allocations: 4 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.00329, allocations: 23.67 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.003517, allocations: 75.42 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.003691, allocations: 55.84 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.003914, allocations: 271 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004018, allocations: 48.83 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.004215, allocations: 155.5 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.004326, allocations: 103.6 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.004353, allocations: 16 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.004376, allocations: 20 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.004441, allocations: 51.7 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.004502, allocations: 79.62 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.00465, allocations: 151.3 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004652, allocations: 0 / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004652, allocations: 4 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004656, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.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.0005992/0.005255, allocations: 0.6238 MB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.005289, allocations: 12.03 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.005335, allocations: 36.75 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.005532, allocations: 245.2 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.005542, allocations: 8.375 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.005568, allocations: 20.36 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005685, allocations: 86.36 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005691, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.005701, allocations: 11.98 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.005706, allocations: 0 / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.005751, allocations: 37.89 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.006166, allocations: 419.8 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.006391, allocations: 135.2 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.006431, allocations: 31.67 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.006447, allocations: 4 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006468, allocations: 37.39 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.006469, allocations: 0 / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006628/0.007132, allocations: 432.6 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.007157, allocations: 55.41 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.007337, allocations: 334.2 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.007352, allocations: 33.7 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.007431, allocations: 215 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.007482, allocations: 63.42 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.007528, allocations: 43.34 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.007652, allocations: 0.5195 MB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.007684, allocations: 19.98 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.007718, allocations: 22.98 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.007803, allocations: 67.59 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.007804, allocations: 0 / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001472/0.007951, allocations: 148.4 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007963, allocations: 12 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007967, allocations: 0 / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007978, allocations: 0 / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.008117, allocations: 55.91 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.00812, allocations: 0 / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.008175, allocations: 8 kB / 280.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.008184, allocations: 8 kB / 280.8 MB, free: 9.66 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 7.827e-05/0.008262, allocations: 172.4 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.0083, allocations: 31.81 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.008473, allocations: 154.8 kB / 281.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.008476, allocations: 4 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.008478, allocations: 0 / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008481, allocations: 0 / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.008646, allocations: 185 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008648, allocations: 11.88 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.008812, allocations: 59.89 kB / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008814, allocations: 4 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.008827, allocations: 7.984 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008828, allocations: 0 / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008829, allocations: 8 kB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.009068, allocations: 327.6 kB / 281.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.009102, allocations: 35.73 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.009121, allocations: 4 kB / 281.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.009194, allocations: 4 kB / 281.7 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.009226, allocations: 15.97 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.009233, allocations: 0 / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.009336, allocations: 242.8 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009336, allocations: 0 / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000164/0.0095, allocations: 40 kB / 282 MB, free: 8.32 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 7.735e-05/0.009577, allocations: 111.2 kB / 282.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.009702, allocations: 93.83 kB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.009703, allocations: 0 / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.59e-05/0.009759, allocations: 51.59 kB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.009992, allocations: 45.88 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.01082, allocations: 0.6013 MB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.01087, allocations: 92.3 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.01093, allocations: 26.28 kB / 283.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.01105, allocations: 110.2 kB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01105, allocations: 4 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of Templates: time 0.004721/0.01577, allocations: 3.012 MB / 286.2 MB, free: 4.195 MB / 266.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 -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.7175586349330842]