Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.096e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003579/0.00361, allocations: 1.98 MB / 269.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.004706, allocations: 0.5416 MB / 269.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.004805, allocations: 4 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004937, allocations: 27.61 kB / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.005242, allocations: 79.36 kB / 270 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.005457, allocations: 59.83 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.005804, allocations: 263 kB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.005931, allocations: 48.8 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.006149, allocations: 143.6 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.006342, allocations: 103.6 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.006386, allocations: 23.94 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.006426, allocations: 20 kB / 270.6 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.00652, allocations: 59.7 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.006628, allocations: 79.67 kB / 270.7 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.006965, allocations: 235 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006967, allocations: 0 / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006968, allocations: 0 / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006973, allocations: 4 kB / 271 MB, free: 3.016 MB / 250.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.001172/0.008145, allocations: 0.5279 MB / 271.5 MB, free: 2.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.008193, allocations: 8.922 kB / 271.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.008291, allocations: 40.75 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.008797, allocations: 257.8 kB / 271.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.008816, allocations: 8.375 kB / 271.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.00886, allocations: 16.33 kB / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.009141, allocations: 121.8 kB / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.009151, allocations: 0 / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.00917, allocations: 11.94 kB / 272 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.009175, allocations: 4 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.009377, allocations: 79.95 kB / 272 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.01021, allocations: 428 kB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.01076, allocations: 182.7 kB / 272.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.0109, allocations: 56.83 kB / 272.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01092, allocations: 0 / 272.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.01095, allocations: 38.56 kB / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.01095, allocations: 0 / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001661/0.01261, allocations: 0.6055 MB / 273.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.01266, allocations: 55.41 kB / 273.4 MB, free: 456 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.01309, allocations: 332.6 kB / 273.7 MB, free: 112 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.01312, allocations: 25.7 kB / 273.7 MB, free: 80 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.01327, allocations: 152.4 kB / 273.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.01334, allocations: 63.42 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.01342, allocations: 37.7 kB / 274 MB, free: 15.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01361, allocations: 346.7 kB / 274.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01376, allocations: 59.97 kB / 274.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.0139, allocations: 66.98 kB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.01422, allocations: 156.6 kB / 274.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01422, allocations: 0 / 274.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004246/0.01464, allocations: 220.4 kB / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01466, allocations: 4 kB / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01466, allocations: 0 / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01468, allocations: 0 / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.015, allocations: 63.89 kB / 274.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01501, allocations: 4 kB / 274.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.01517, allocations: 8 kB / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01518, allocations: 4 kB / 274.9 MB, free: 14.89 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.0001444/0.01533, allocations: 137.7 kB / 275 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.0154, allocations: 31.81 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.01587, allocations: 219.4 kB / 275.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01588, allocations: 0 / 275.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01588, allocations: 4 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01589, allocations: 7.984 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.01623, allocations: 225.2 kB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01623, allocations: 0 / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.01662, allocations: 63.89 kB / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01663, allocations: 0 / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.01665, allocations: 11.98 kB / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.01665, allocations: 0 / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01665, allocations: 0 / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.01734, allocations: 391.1 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.0174, allocations: 35.86 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.01744, allocations: 8 kB / 276 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.01764, allocations: 7.984 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.0177, allocations: 11.98 kB / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.01772, allocations: 7.984 kB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.01802, allocations: 243.1 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01802, allocations: 0 / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.01832, allocations: 47.94 kB / 276.3 MB, free: 13.4 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.0001317/0.01845, allocations: 103.2 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.01883, allocations: 159.7 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01883, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.01901, allocations: 86.64 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.01939, allocations: 33.14 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02074, allocations: 0.6501 MB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.02092, allocations: 151.5 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.02104, allocations: 38.27 kB / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.02114, allocations: 24.5 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02114, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007522/0.02866, allocations: 2.948 MB / 280.5 MB, free: 9.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.500430133077316]