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.0009362/0.0009362, allocations: 85.91 kB / 21.43 MB, free: 3.07 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.0009561/0.0009561, allocations: 165.3 kB / 24.82 MB, free: 9.262 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.9699/0.9699, allocations: 177 MB / 205.1 MB, free: 5.484 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 9.22e-07/9.22e-07, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.237e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002044/0.002056, allocations: 2.059 MB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000675/0.002731, allocations: 0.5612 MB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.002812, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.019e-05/0.002892, allocations: 23.67 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.003086, allocations: 79.36 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003236, allocations: 59.84 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.003433, allocations: 271 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.003516, allocations: 44.89 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.003685, allocations: 159.4 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.003784, allocations: 99.61 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003809, allocations: 20 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.00383, allocations: 16 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.003881, allocations: 63.62 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.003932, allocations: 71.7 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.004072, allocations: 155.3 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004074, allocations: 4 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004074, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004078, allocations: 4 kB / 277 MB, free: 13.52 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.0005398/0.004618, allocations: 0.6199 MB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.004647, allocations: 15.98 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.00469, allocations: 40.75 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.004862, allocations: 241.2 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.004871, allocations: 8.375 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.004892, allocations: 16.36 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005001, allocations: 93.69 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.005006, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.005015, allocations: 4 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.00502, allocations: 8 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.005064, allocations: 27.97 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.00546, allocations: 415.8 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.005675, allocations: 131.2 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.005713, allocations: 39.66 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005728, allocations: 7.984 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.005744, allocations: 33.39 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.005745, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006235/0.006369, allocations: 425.4 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.006389, allocations: 59.41 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.006557, allocations: 334.2 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.006571, allocations: 33.7 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.006644, allocations: 207 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.00669, allocations: 67.42 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.006735, allocations: 43.34 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.006842, allocations: 0.5117 MB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.006875, allocations: 19.98 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.006908, allocations: 23.97 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.592e-05/0.006994, allocations: 74.97 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006994, allocations: 0 / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001385/0.007133, allocations: 153.4 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.007141, allocations: 7.125 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.007145, allocations: 0 / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.007153, allocations: 3.938 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.007291, allocations: 51.97 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007295, allocations: 11.92 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.007351, allocations: 4 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.007359, allocations: 4 kB / 280.7 MB, free: 9.609 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.996e-05/0.007429, allocations: 164.5 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.007465, allocations: 39.81 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.007641, allocations: 152.6 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007644, allocations: 8 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.007646, allocations: 0 / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.007652, allocations: 3.984 kB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.007825, allocations: 181.1 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007827, allocations: 3.938 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.008, allocations: 55.95 kB / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008003, allocations: 0 / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.008016, allocations: 4 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008018, allocations: 8 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008019, allocations: 0 / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.008282, allocations: 335.5 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.008318, allocations: 39.67 kB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.00834, allocations: 3.984 kB / 281.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.008419, allocations: 8 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.00845, allocations: 11.97 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.008458, allocations: 8 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.008569, allocations: 234.9 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008569, allocations: 0 / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.008743, allocations: 44 kB / 282 MB, free: 8.27 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 6.97e-05/0.008813, allocations: 107.2 kB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.008937, allocations: 83.55 kB / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.008938, allocations: 0 / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.008995, allocations: 58.72 kB / 282.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.009216, allocations: 41.06 kB / 282.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.01, allocations: 0.6052 MB / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01005, allocations: 88.31 kB / 283 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.01011, allocations: 30.22 kB / 283 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.01022, allocations: 118.2 kB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01022, allocations: 3.938 kB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of Templates: time 0.004418/0.01464, allocations: 3.017 MB / 286.1 MB, free: 4.137 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.6827657758258283]