Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001425/0.001425, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001541/0.001541, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.536/1.536, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 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.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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 53.42 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003915/0.3039, allocations: 2.25 MB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3054, allocations: 0.6276 MB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.3055, allocations: 0 / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3057, allocations: 27.61 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.3059, allocations: 79.41 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3062, allocations: 75.84 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.3066, allocations: 279 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3068, allocations: 56.92 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.307, allocations: 123.3 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3073, allocations: 155.2 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.3073, allocations: 20 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.3074, allocations: 24 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.3074, allocations: 59.7 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3076, allocations: 123.1 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.3079, allocations: 267.8 kB / 436.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3079, allocations: 4 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.129e-05/0.3079, allocations: 3.984 kB / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3079, allocations: 4 kB / 436.6 MB, free: 2.586 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.001228/0.3092, allocations: 0.5437 MB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3092, allocations: 12.03 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.3093, allocations: 32.7 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3097, allocations: 258.8 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3097, allocations: 16.41 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3098, allocations: 12 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.3105, allocations: 386 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3105, allocations: 0 / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3105, allocations: 4 kB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3105, allocations: 8 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.3108, allocations: 83.95 kB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.3116, allocations: 0.5005 MB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.3123, allocations: 306.7 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3126, allocations: 138.9 kB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3126, allocations: 4 kB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3126, allocations: 34.56 kB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.3126, allocations: 0 / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002512/0.3151, allocations: 1.191 MB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.3153, allocations: 143.2 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.3157, allocations: 328.6 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3157, allocations: 29.83 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3159, allocations: 149.1 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.3159, allocations: 55.66 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.316, allocations: 66.14 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3162, allocations: 346.8 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3164, allocations: 72.83 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3168, allocations: 314.8 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.3173, allocations: 421 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3173, allocations: 7.938 kB / 442 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007038/0.318, allocations: 405.2 kB / 442.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.318, allocations: 15.92 kB / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.318, allocations: 8 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.3181, allocations: 12 kB / 442.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.3184, allocations: 95.78 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/0.3184, allocations: 15.98 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.3186, allocations: 24.36 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3187, allocations: 28.19 kB / 442.6 MB, free: 12.08 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.0002218/0.3189, allocations: 177.5 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.3194, allocations: 300.6 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007336/0.3201, allocations: 379.5 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3202, allocations: 4 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3202, allocations: 0 / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3202, allocations: 11.98 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.3206, allocations: 288.4 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3206, allocations: 0 / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.3212, allocations: 127.8 kB / 443.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3212, allocations: 0 / 443.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.3213, allocations: 11.98 kB / 443.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.3213, allocations: 7.938 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3213, allocations: 0 / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3224, allocations: 0.7187 MB / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.3225, allocations: 43.72 kB / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.3225, allocations: 8 kB / 444.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3228, allocations: 15.98 kB / 444.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3228, allocations: 4 kB / 444.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.3229, allocations: 16.05 kB / 444.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.3232, allocations: 247.1 kB / 444.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3232, allocations: 0 / 444.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.3236, allocations: 67.94 kB / 445 MB, free: 9.602 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.0001474/0.3238, allocations: 110.8 kB / 445.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.3244, allocations: 296.4 kB / 445.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3244, allocations: 0 / 445.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.3245, allocations: 25.44 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3253, allocations: 199.7 kB / 445.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3268, allocations: 0.7735 MB / 446.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.3272, allocations: 0.8035 MB / 447.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.3273, allocations: 39.36 kB / 447.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3273, allocations: 0 / 447.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Templates: time 0.007713/0.335, allocations: 3.964 MB / 451.2 MB, free: 3.332 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.700348736019805]