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.001025/0.001025, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001217/0.001217, allocations: 159.9 kB / 25.61 MB, free: 8.582 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.976/0.976, allocations: 177 MB / 205.9 MB, free: 4.457 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.263e-06/1.263e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.379e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002212/0.002226, allocations: 2.056 MB / 276.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.002963, allocations: 0.559 MB / 276.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.003061, allocations: 4 kB / 276.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.003156, allocations: 23.67 kB / 276.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.003367, allocations: 84.12 kB / 276.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.003537, allocations: 52.53 kB / 276.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.003762, allocations: 269.4 kB / 277.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003864, allocations: 44.89 kB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.004059, allocations: 155.4 kB / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.00417, allocations: 99.61 kB / 277.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.004196, allocations: 16 kB / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.004217, allocations: 20 kB / 277.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.004276, allocations: 65.48 kB / 277.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.00433, allocations: 71.7 kB / 277.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.004486, allocations: 151.2 kB / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004488, allocations: 0 / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004488, allocations: 0 / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004492, allocations: 0.5 kB / 277.8 MB, free: 0.6133 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.0008097/0.005302, allocations: 0.625 MB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.005331, allocations: 8.031 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.005381, allocations: 40.75 kB / 278.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.005576, allocations: 253.2 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.005585, allocations: 4.375 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.005607, allocations: 12.38 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.00572, allocations: 89.75 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.005726, allocations: 0 / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005736, allocations: 4 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005742, allocations: 7.984 kB / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.005789, allocations: 29.72 kB / 278.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.00622, allocations: 423.8 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.006444, allocations: 131.2 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.006481, allocations: 27.67 kB / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.006494, allocations: 4 kB / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.006513, allocations: 41.33 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.006514, allocations: 4 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006697/0.007184, allocations: 436.8 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.007208, allocations: 51.41 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.007384, allocations: 334.2 kB / 280.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007398, allocations: 25.7 kB / 280.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.007481, allocations: 215 kB / 280.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.007529, allocations: 71.41 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.007578, allocations: 43.36 kB / 280.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.007697, allocations: 0.5117 MB / 281.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.007731, allocations: 23.97 kB / 281.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.00777, allocations: 27.36 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.007861, allocations: 71.59 kB / 281.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007863, allocations: 0 / 281.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001463/0.008009, allocations: 141.4 kB / 281.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.008018, allocations: 4 kB / 281.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.008023, allocations: 4 kB / 281.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.008031, allocations: 0 / 281.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.008177, allocations: 63.95 kB / 281.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.008179, allocations: 0 / 281.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.00824, allocations: 8 kB / 281.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.008249, allocations: 4 kB / 281.5 MB, free: 12.7 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.408e-05/0.008323, allocations: 164.5 kB / 281.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.008362, allocations: 35.81 kB / 281.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.008534, allocations: 154.7 kB / 281.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008536, allocations: 7.922 kB / 281.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.008538, allocations: 4 kB / 281.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008541, allocations: 4 kB / 281.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.008709, allocations: 181.1 kB / 282 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008711, allocations: 3.938 kB / 282 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.008886, allocations: 55.95 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008888, allocations: 0 / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.008902, allocations: 8 kB / 282.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.008904, allocations: 0 / 282.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008904, allocations: 3.938 kB / 282.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.009155, allocations: 339.4 kB / 282.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.00919, allocations: 39.67 kB / 282.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.009213, allocations: 8 kB / 282.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.009292, allocations: 4 kB / 282.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.009322, allocations: 11.97 kB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.009329, allocations: 4 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.009441, allocations: 238.9 kB / 282.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009441, allocations: 0 / 282.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000175/0.009616, allocations: 44 kB / 282.7 MB, free: 11.36 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 8.497e-05/0.009701, allocations: 97.7 kB / 282.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.009834, allocations: 102.5 kB / 282.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.009835, allocations: 0 / 282.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.009892, allocations: 61.92 kB / 283 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01012, allocations: 41.08 kB / 283 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.01093, allocations: 0.6053 MB / 283.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01098, allocations: 92.17 kB / 283.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.521e-05/0.01104, allocations: 22.28 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01116, allocations: 110.2 kB / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01116, allocations: 0 / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.00504/0.0162, allocations: 3.128 MB / 287 MB, free: 7.117 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 -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.7531988453119993]