Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 169.3 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.185e-05, allocations: 6.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002266/0.002278, allocations: 2.192 MB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.003065, allocations: 0.6157 MB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.003157, allocations: 4 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.00326, allocations: 27.61 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.00347, allocations: 91.28 kB / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.003652, allocations: 71.78 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003876, allocations: 282.9 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003976, allocations: 55.08 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.004176, allocations: 163.5 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.004297, allocations: 103.5 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.004327, allocations: 20 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.004351, allocations: 27.94 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.004409, allocations: 63.67 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.004466, allocations: 83.69 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.004616, allocations: 171.2 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004618, allocations: 0 / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004618, allocations: 0 / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.004621, allocations: 0 / 277.4 MB, free: 13.35 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005644/0.005186, allocations: 0.511 MB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.005214, allocations: 12.03 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.005257, allocations: 28.92 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.005453, allocations: 222.7 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005463, allocations: 12.66 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.005491, allocations: 24.31 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.005754, allocations: 270.4 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005761, allocations: 4 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005772, allocations: 4 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005779, allocations: 4 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.005832, allocations: 46.36 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.006123, allocations: 301.1 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.0064, allocations: 199.6 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.00647, allocations: 82.62 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.00649, allocations: 7.859 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.006508, allocations: 34.56 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.172e-06/0.006509, allocations: 4 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001118/0.007627, allocations: 0.8382 MB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.0077, allocations: 138.7 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.007847, allocations: 271 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.007865, allocations: 37.73 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.007904, allocations: 121.7 kB / 280.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.00793, allocations: 31.72 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.007965, allocations: 37.69 kB / 280.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.008042, allocations: 334.8 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.008059, allocations: 12 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.008107, allocations: 70.84 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.008178, allocations: 93.53 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008179, allocations: 3.938 kB / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001122/0.008291, allocations: 117.4 kB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.008301, allocations: 4 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.008306, allocations: 4 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.008316, allocations: 4.219 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.008389, allocations: 39.92 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008395, allocations: 7.938 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.008448, allocations: 11.89 kB / 281.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.008456, allocations: 8 kB / 281.3 MB, free: 9.141 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 8.012e-05/0.008536, allocations: 128.6 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.008703, allocations: 154.9 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.008913, allocations: 228.8 kB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008917, allocations: 4 kB / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008921, allocations: 11.86 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008925, allocations: 0 / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.009096, allocations: 145.9 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009098, allocations: 0 / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.009362, allocations: 115.9 kB / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.009365, allocations: 4 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.009378, allocations: 8 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.009382, allocations: 7.984 kB / 282.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.009383, allocations: 4 kB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.009522, allocations: 254.4 kB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.009559, allocations: 43.62 kB / 282.4 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.009591, allocations: 12 kB / 282.4 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.009689, allocations: 8 kB / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.009711, allocations: 3.984 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.009723, allocations: 12 kB / 282.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.809e-05/0.009801, allocations: 112.6 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009801, allocations: 0 / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.009984, allocations: 48 kB / 282.6 MB, free: 7.793 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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 7.566e-05/0.01006, allocations: 92.39 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.0102, allocations: 119.3 kB / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0102, allocations: 0 / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.01022, allocations: 24.84 kB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.01055, allocations: 135.7 kB / 282.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.01134, allocations: 0.6704 MB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.945e-05/0.01141, allocations: 121.1 kB / 283.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01146, allocations: 26.91 kB / 283.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01156, allocations: 87.36 kB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01156, allocations: 4 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of Templates: time 0.00512/0.01668, allocations: 3.605 MB / 287.4 MB, free: 2.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.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.7149806399829686]