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.001614/0.001614, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001754/0.001754, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.469/1.469, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001936/0.001936, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3345, allocations: 53.3 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003953/0.3385, allocations: 2.262 MB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3397, allocations: 0.6122 MB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.3399, allocations: 7.938 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.34, allocations: 27.67 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3403, allocations: 75.36 kB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.3406, allocations: 78.7 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3409, allocations: 275.1 kB / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3411, allocations: 56.66 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3414, allocations: 119.4 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3416, allocations: 147.2 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.3416, allocations: 24 kB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.3417, allocations: 24 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.3418, allocations: 67.69 kB / 435.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3419, allocations: 123.1 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.3423, allocations: 264.6 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3423, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3423, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3423, allocations: 0 / 436.2 MB, free: 3.219 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.001223/0.3435, allocations: 0.6268 MB / 436.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3436, allocations: 12.03 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.458e-05/0.3436, allocations: 40.7 kB / 436.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.3441, allocations: 316.6 kB / 437.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3441, allocations: 16.41 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.3442, allocations: 12 kB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.3449, allocations: 381.8 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3449, allocations: 0 / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3449, allocations: 7.938 kB / 437.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3449, allocations: 4 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.3451, allocations: 87.95 kB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3459, allocations: 0.5327 MB / 438.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.3466, allocations: 307.7 kB / 438.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3469, allocations: 126.5 kB / 438.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3469, allocations: 4 kB / 438.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.347, allocations: 46.55 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.347, allocations: 0 / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002536/0.3495, allocations: 1.343 MB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3496, allocations: 146.4 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.35, allocations: 324.6 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3501, allocations: 37.7 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3502, allocations: 141.1 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.3503, allocations: 59.59 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.3503, allocations: 66.14 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3505, allocations: 354.8 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3507, allocations: 68.83 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.351, allocations: 322.7 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.3515, allocations: 413 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3515, allocations: 7.938 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006538/0.3522, allocations: 405.5 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3522, allocations: 15.06 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3522, allocations: 8 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.3523, allocations: 12 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3525, allocations: 91.84 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.3525, allocations: 19.92 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3528, allocations: 23.95 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.3528, allocations: 24 kB / 442.5 MB, free: 12.3 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.0001922/0.353, allocations: 169.5 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/0.3535, allocations: 305.5 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.3542, allocations: 375.5 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3542, allocations: 11.94 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3542, allocations: 0 / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3542, allocations: 0 / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3546, allocations: 325.3 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3546, allocations: 3.938 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.3552, allocations: 119.9 kB / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3552, allocations: 8 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.3552, allocations: 15.98 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3552, allocations: 0 / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3552, allocations: 0 / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3563, allocations: 0.7153 MB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3564, allocations: 117.1 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.3565, allocations: 19.98 kB / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3567, allocations: 8 kB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.3568, allocations: 7.969 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3568, allocations: 20.06 kB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.3571, allocations: 243.1 kB / 444.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3571, allocations: 0 / 444.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.3575, allocations: 60 kB / 445 MB, free: 9.707 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.0001494/0.3577, allocations: 123.1 kB / 445.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.3583, allocations: 289.8 kB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3583, allocations: 8.062 kB / 445.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.3583, allocations: 27.98 kB / 445.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.3591, allocations: 196.4 kB / 445.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3605, allocations: 0.7689 MB / 446.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.361, allocations: 0.8073 MB / 447.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.3611, allocations: 35.44 kB / 447.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3611, allocations: 0 / 447.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Templates: time 0.007142/0.3682, allocations: 3.966 MB / 451.2 MB, free: 3.422 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.546895764768124]