Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.008545/0.008545, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 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.002056/0.002056, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 259 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.88 kB / 379.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3351, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003655/0.3388, allocations: 2.256 MB / 435.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.34, allocations: 0.6277 MB / 436 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3402, allocations: 3.938 kB / 436.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.3403, allocations: 31.61 kB / 436.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3406, allocations: 71.41 kB / 436.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3409, allocations: 75.84 kB / 436.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.3412, allocations: 279 kB / 436.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3414, allocations: 56.86 kB / 436.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.3416, allocations: 119.4 kB / 436.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3418, allocations: 155.2 kB / 436.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.3419, allocations: 20 kB / 436.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.3419, allocations: 24 kB / 436.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.342, allocations: 63.69 kB / 436.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.3421, allocations: 127.1 kB / 437.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3424, allocations: 267.9 kB / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3424, allocations: 0 / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3424, allocations: 0 / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3425, allocations: 0 / 437.3 MB, free: 2.805 MB / 334.1 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.001133/0.3436, allocations: 0.5476 MB / 437.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3436, allocations: 12.03 kB / 437.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.3437, allocations: 32.7 kB / 437.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.3441, allocations: 254.8 kB / 438.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3441, allocations: 16.41 kB / 438.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.3442, allocations: 16 kB / 438.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.3448, allocations: 386.5 kB / 438.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3448, allocations: 0 / 438.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3449, allocations: 4 kB / 438.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3449, allocations: 4 kB / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3451, allocations: 87.95 kB / 438.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.3458, allocations: 0.5083 MB / 439.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.3465, allocations: 304.2 kB / 439.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.3468, allocations: 126.6 kB / 439.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3468, allocations: 7.984 kB / 439.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3468, allocations: 42.78 kB / 439.6 MB, free: 324 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.3468, allocations: 0 / 439.6 MB, free: 324 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002465/0.3493, allocations: 1.194 MB / 440.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3494, allocations: 139.3 kB / 441 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.3498, allocations: 328.6 kB / 441.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.3499, allocations: 33.7 kB / 441.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.35, allocations: 141.1 kB / 441.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.35, allocations: 51.67 kB / 441.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.3501, allocations: 78.16 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3503, allocations: 346.8 kB / 441.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3504, allocations: 64.84 kB / 442 MB, free: 13.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.3508, allocations: 322.7 kB / 442.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.3513, allocations: 413 kB / 442.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3513, allocations: 7.75 kB / 442.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006668/0.3519, allocations: 413.5 kB / 443.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.352, allocations: 8 kB / 443.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.352, allocations: 8 kB / 443.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.352, allocations: 12 kB / 443.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3523, allocations: 95.83 kB / 443.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.3523, allocations: 15.94 kB / 443.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3525, allocations: 23.95 kB / 443.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3526, allocations: 27.98 kB / 443.3 MB, free: 12.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.0001905/0.3528, allocations: 177.6 kB / 443.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.3533, allocations: 296.6 kB / 443.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.3539, allocations: 383.4 kB / 444.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3539, allocations: 4 kB / 444.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.354, allocations: 0 / 444.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.354, allocations: 4 kB / 444.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.3544, allocations: 296.4 kB / 444.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3544, allocations: 0 / 444.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.355, allocations: 131.8 kB / 444.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.355, allocations: 0 / 444.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.355, allocations: 12 kB / 444.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.355, allocations: 7.938 kB / 444.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.355, allocations: 3.938 kB / 444.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.356, allocations: 0.7148 MB / 445.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.3561, allocations: 43.77 kB / 445.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.3562, allocations: 12 kB / 445.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3564, allocations: 8 kB / 445.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3565, allocations: 7.984 kB / 445.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3565, allocations: 12 kB / 445.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.3568, allocations: 243.1 kB / 445.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3568, allocations: 0 / 445.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.3572, allocations: 68.06 kB / 445.7 MB, free: 9.816 MB / 350.1 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 (45): * Single equations (assignments): 45 * 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.0001324/0.3573, allocations: 119 kB / 445.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.3579, allocations: 285.5 kB / 446.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3579, allocations: 0 / 446.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.358, allocations: 31.98 kB / 446.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.3588, allocations: 201.6 kB / 446.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3602, allocations: 0.766 MB / 447.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3606, allocations: 0.8113 MB / 447.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.3607, allocations: 31.44 kB / 447.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3607, allocations: 0 / 447.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of Templates: time 0.006907/0.3676, allocations: 3.981 MB / 451.9 MB, free: 3.535 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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: 7.970267241122201]