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.0009081/0.0009081, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009053/0.0009053, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9073/0.9073, allocations: 177 MB / 204.8 MB, free: 5.594 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.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.192e-05, allocations: 6.25 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002883/0.002915, allocations: 2.068 MB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.004183, allocations: 0.565 MB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004314, allocations: 4 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.004434, allocations: 23.67 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.004721, allocations: 79.42 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.004937, allocations: 63.83 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.005247, allocations: 267 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005372, allocations: 44.89 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.00566, allocations: 155.4 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.00581, allocations: 99.61 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.005848, allocations: 16 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.005878, allocations: 24 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.005959, allocations: 59.69 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.006036, allocations: 71.7 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.006256, allocations: 155.2 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.00626, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006261, allocations: 4 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.006269, allocations: 0 / 276.6 MB, free: 13.73 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.0007869/0.007055, allocations: 0.62 MB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.007094, allocations: 15.98 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.007173, allocations: 40.75 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.007435, allocations: 253.2 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.007446, allocations: 12.38 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.007474, allocations: 16.36 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.007613, allocations: 97.69 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.00762, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.007631, allocations: 4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007639, allocations: 4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.007706, allocations: 39.91 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.008218, allocations: 471.2 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.008479, allocations: 135.2 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.008533, allocations: 39.61 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.008547, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.008567, allocations: 37.39 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.008568, allocations: 0 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008557/0.009423, allocations: 496 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.009453, allocations: 55.41 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.009676, allocations: 350.3 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.009692, allocations: 25.7 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.009783, allocations: 215 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.009831, allocations: 55.48 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.009885, allocations: 43.36 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01001, allocations: 0.5118 MB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.01006, allocations: 31.92 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.01011, allocations: 31.97 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01023, allocations: 86.98 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01023, allocations: 0 / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001949/0.01043, allocations: 157.4 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01044, allocations: 10.81 kB / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.01045, allocations: 0 / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01046, allocations: 0 / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01062, allocations: 63.89 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01063, allocations: 4 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.01069, allocations: 8 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.0107, allocations: 4 kB / 280.5 MB, free: 9.621 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 0.0001171/0.01082, allocations: 168.5 kB / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.01086, allocations: 35.81 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.01108, allocations: 160.6 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01109, allocations: 0 / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01109, allocations: 7.984 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.0111, allocations: 0 / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.0113, allocations: 228.5 kB / 281.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01131, allocations: 0 / 281.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.01149, allocations: 59.89 kB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01149, allocations: 0 / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.01151, allocations: 8 kB / 281.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01151, allocations: 0 / 281.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01151, allocations: 0 / 281.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.01184, allocations: 351.5 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.01187, allocations: 35.72 kB / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.0119, allocations: 11.94 kB / 281.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.01198, allocations: 8 kB / 281.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.01202, allocations: 11.97 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01203, allocations: 4 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.01218, allocations: 255 kB / 281.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01218, allocations: 0 / 281.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.01237, allocations: 40 kB / 281.8 MB, free: 8.195 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 9.99e-05/0.01247, allocations: 107.2 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.01266, allocations: 110.7 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01267, allocations: 4 kB / 282.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.01275, allocations: 67.59 kB / 282.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01303, allocations: 33.14 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01437, allocations: 0.6052 MB / 282.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.253e-05/0.01443, allocations: 92.3 kB / 282.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.0145, allocations: 30.27 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.01457, allocations: 28.48 kB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01457, allocations: 0 / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of Templates: time 0.005214/0.01979, allocations: 2.983 MB / 285.9 MB, free: 4.133 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.6538435658439994]