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.001907/0.001907, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.001983/0.001983, allocations: 156.9 kB / 24.27 MB, free: 140 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 1.519/1.519, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|filter.x.2.|filter.x.3.|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.1.|filter.x.2.|filter.x.3.|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.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.847e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003543/0.003571, allocations: 2.044 MB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004742, allocations: 0.5651 MB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.004842, allocations: 0 / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.004965, allocations: 23.67 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.005271, allocations: 83.3 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.005481, allocations: 55.91 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.005822, allocations: 271 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005945, allocations: 40.89 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.006232, allocations: 151.5 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.006421, allocations: 115.5 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.006468, allocations: 20 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.105e-05/0.006509, allocations: 20 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.0066, allocations: 59.7 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.006696, allocations: 71.69 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.007004, allocations: 231.1 kB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007007, allocations: 0 / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007008, allocations: 0 / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007013, allocations: 3.938 kB / 276 MB, free: 14.05 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.001143/0.008156, allocations: 0.6431 MB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.008191, allocations: 15.98 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.008276, allocations: 40.75 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.008664, allocations: 256.5 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.008681, allocations: 8.312 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.008713, allocations: 12.38 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.008963, allocations: 121.7 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008972, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.008985, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.008992, allocations: 4 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.009393, allocations: 75.89 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.01028, allocations: 0.4915 MB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.0108, allocations: 171.2 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.01093, allocations: 47.67 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01096, allocations: 4 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.011, allocations: 41.39 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.011, allocations: 0 / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00156/0.01256, allocations: 0.5752 MB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.01261, allocations: 55.41 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.01308, allocations: 406.3 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01311, allocations: 33.7 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.01328, allocations: 215.1 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.01337, allocations: 67.47 kB / 279.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.01345, allocations: 47.3 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002911/0.01374, allocations: 0.5157 MB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.01388, allocations: 55.97 kB / 279.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.014, allocations: 51.98 kB / 279.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.01427, allocations: 139 kB / 280 MB, free: 9.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01428, allocations: 0 / 280 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003986/0.01467, allocations: 213.3 kB / 280.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01469, allocations: 4 kB / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.0147, allocations: 0 / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01471, allocations: 0 / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.01502, allocations: 59.95 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01503, allocations: 0 / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01517, allocations: 8 kB / 280.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.01519, allocations: 4 kB / 280.3 MB, free: 9.473 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.0001664/0.01536, allocations: 180.5 kB / 280.5 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.01543, allocations: 43.8 kB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.01589, allocations: 196.6 kB / 280.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01589, allocations: 4 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.0159, allocations: 0 / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.0159, allocations: 0 / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.01627, allocations: 252.4 kB / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01628, allocations: 7.922 kB / 281 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.01664, allocations: 55.97 kB / 281 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.01665, allocations: 3.984 kB / 281 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.01667, allocations: 0 / 281 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01667, allocations: 8 kB / 281 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01667, allocations: 0 / 281 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.01732, allocations: 430.4 kB / 281.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.01738, allocations: 23.8 kB / 281.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.01743, allocations: 12.06 kB / 281.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.01761, allocations: 11.98 kB / 281.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.01766, allocations: 7.984 kB / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.01769, allocations: 7.984 kB / 281.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003285/0.01801, allocations: 295 kB / 281.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01801, allocations: 4 kB / 281.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.01828, allocations: 43.94 kB / 281.8 MB, free: 7.852 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.0001408/0.01842, allocations: 103.2 kB / 281.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.01879, allocations: 155.4 kB / 282.1 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01879, allocations: 0 / 282.1 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.01895, allocations: 83.59 kB / 282.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01933, allocations: 33.14 kB / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.02069, allocations: 0.6247 MB / 282.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.02087, allocations: 163.5 kB / 283 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.02098, allocations: 30.27 kB / 283 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02109, allocations: 28.48 kB / 283.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02109, allocations: 0 / 283.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Templates: time 0.007781/0.02887, allocations: 2.981 MB / 286 MB, free: 3.66 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.611135443090461]