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.001424/0.001424, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001822/0.001822, allocations: 160.2 kB / 24.91 MB, free: 8.754 MB / 18.57 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 0.9408/0.9408, allocations: 177 MB / 205.2 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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 1.463e-06/1.463e-06, allocations: 3.938 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.581e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002666/0.002692, allocations: 2.092 MB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003877, allocations: 0.5766 MB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.003989, allocations: 4 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.004102, allocations: 27.61 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.004351, allocations: 87.34 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.004545, allocations: 55.91 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.004796, allocations: 259 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.0049, allocations: 54.78 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.005123, allocations: 147.5 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.005246, allocations: 99.61 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.005274, allocations: 16 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.005295, allocations: 23.94 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.005358, allocations: 59.69 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.005414, allocations: 79.69 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005594, allocations: 147.3 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.0056, allocations: 7.938 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005601, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.005606, allocations: 0 / 277.2 MB, free: 13.23 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.0005875/0.006194, allocations: 0.4913 MB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.006229, allocations: 15.98 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.006276, allocations: 28.91 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006495, allocations: 214.5 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.006507, allocations: 8.375 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.006531, allocations: 20.33 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.006662, allocations: 97.62 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006668, allocations: 0 / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.006678, allocations: 4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006683, allocations: 4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.006726, allocations: 23.98 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.007135, allocations: 294.7 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.007353, allocations: 106.5 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.007391, allocations: 32.78 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.007407, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.00743, allocations: 30.56 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.007432, allocations: 4 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008078/0.008239, allocations: 432.9 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.008267, allocations: 59.41 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.008423, allocations: 275 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008436, allocations: 25.7 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.008492, allocations: 140.9 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.008536, allocations: 63.42 kB / 279.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.008581, allocations: 33.69 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.008661, allocations: 342.8 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.008693, allocations: 19.98 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.008724, allocations: 19.98 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.495e-05/0.008809, allocations: 76.06 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.00881, allocations: 3.938 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001185/0.008929, allocations: 109.6 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.008943, allocations: 7.938 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008949, allocations: 0 / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.008959, allocations: 0 / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.00915, allocations: 71.89 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.009153, allocations: 0 / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.009204, allocations: 4 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.009216, allocations: 11.98 kB / 280.2 MB, free: 10.03 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 6.899e-05/0.009285, allocations: 120.6 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.009319, allocations: 23.92 kB / 280.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.009488, allocations: 136.6 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00949, allocations: 0 / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.009491, allocations: 0 / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009495, allocations: 4 kB / 280.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.009653, allocations: 141.8 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009655, allocations: 0 / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.009898, allocations: 95.83 kB / 280.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.009903, allocations: 3.938 kB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.009919, allocations: 11.98 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009921, allocations: 4 kB / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009922, allocations: 0 / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.01015, allocations: 249.3 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.01018, allocations: 27.8 kB / 281 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.0102, allocations: 7.938 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.01028, allocations: 4 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.01032, allocations: 19.97 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-06/0.01033, allocations: 4 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.01041, allocations: 112.6 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.01056, allocations: 40 kB / 281.2 MB, free: 8.992 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.0001035/0.01066, allocations: 95.64 kB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01078, allocations: 72.77 kB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.01078, allocations: 4 kB / 281.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.01084, allocations: 60.67 kB / 281.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.01105, allocations: 47.84 kB / 281.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.01191, allocations: 0.5476 MB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.01196, allocations: 88.31 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.01204, allocations: 26.28 kB / 282.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01215, allocations: 95.34 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01216, allocations: 0 / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of Templates: time 0.005594/0.01775, allocations: 3.13 MB / 285.3 MB, free: 4.848 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] 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","",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.652663272805512]