Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.0007407/0.0007407, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009296/0.00167, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007136/0.0007136, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008691/0.001583, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9197/0.9197, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.028, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.085e-06/9.157e-06, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001851/0.00186, allocations: 2.104 MB / 247.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005744/0.002434, allocations: 0.5805 MB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.0025, allocations: 3.938 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.002549, allocations: 23.67 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.002684, allocations: 79.41 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.0028, allocations: 55.84 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.002991, allocations: 267 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.003086, allocations: 42.8 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.003322, allocations: 236.5 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.003421, allocations: 99.61 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.003444, allocations: 16 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.003464, allocations: 20 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.003507, allocations: 39.8 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.003553, allocations: 55.81 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.003687, allocations: 147.2 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.003697, allocations: 0 / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003697, allocations: 0 / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.003708, allocations: 0 / 248.8 MB, free: 9.871 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.0005455/0.004253, allocations: 0.5223 MB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.378e-05/0.004277, allocations: 16.61 kB / 249.3 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.004313, allocations: 28.92 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.004517, allocations: 214.5 kB / 249.5 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004527, allocations: 8.375 kB / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.004549, allocations: 16.33 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.004656, allocations: 98.38 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.004662, allocations: 0 / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004671, allocations: 4 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004675, allocations: 4 kB / 249.7 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.004718, allocations: 31.86 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.005048, allocations: 286.6 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.00524, allocations: 114.5 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.005272, allocations: 24.84 kB / 250.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.005285, allocations: 3.984 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.005303, allocations: 38.56 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.005304, allocations: 4 kB / 250.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007504/0.006055, allocations: 439.8 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.006077, allocations: 51.41 kB / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.006214, allocations: 275 kB / 250.9 MB, free: 7.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006226, allocations: 25.7 kB / 250.9 MB, free: 7.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.006266, allocations: 136.9 kB / 251.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.006306, allocations: 63.42 kB / 251.1 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.006347, allocations: 37.69 kB / 251.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.006422, allocations: 346.8 kB / 251.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.006448, allocations: 15.98 kB / 251.5 MB, free: 6.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.006475, allocations: 28 kB / 251.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.006545, allocations: 74.83 kB / 251.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006546, allocations: 0 / 251.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 9.909e-05/0.006645, allocations: 101.6 kB / 251.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.006655, allocations: 7.938 kB / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.006658, allocations: 0 / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.006666, allocations: 4 kB / 251.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.006845, allocations: 75.88 kB / 251.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.006847, allocations: 4 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.006896, allocations: 8 kB / 251.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.006907, allocations: 4 kB / 251.8 MB, free: 6.629 MB / 250.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 5.585e-05/0.006963, allocations: 120.6 kB / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.006992, allocations: 27.92 kB / 252 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.00725, allocations: 132.6 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007252, allocations: 0 / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.007253, allocations: 4 kB / 252.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007256, allocations: 0 / 252.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.007395, allocations: 141.8 kB / 252.2 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007396, allocations: 4 kB / 252.3 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.007623, allocations: 87.91 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.007653, allocations: 31.72 kB / 252.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.007654, allocations: 4 kB / 252.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.007666, allocations: 4 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007667, allocations: 0 / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007669, allocations: 4 kB / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.007853, allocations: 252.9 kB / 252.6 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.007881, allocations: 11.94 kB / 252.6 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.00795, allocations: 8 kB / 252.6 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007973, allocations: 11.97 kB / 252.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.007979, allocations: 0 / 252.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.008052, allocations: 112.6 kB / 252.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008052, allocations: 0 / 252.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.008186, allocations: 48 kB / 252.8 MB, free: 5.586 MB / 250.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 6.56e-05/0.008251, allocations: 92.34 kB / 252.9 MB, free: 5.488 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008354, allocations: 76.81 kB / 253 MB, free: 5.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.00836, allocations: 4 kB / 253 MB, free: 5.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.008406, allocations: 48.69 kB / 253 MB, free: 5.355 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.008578, allocations: 74.62 kB / 253.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.00997, allocations: 0.5455 MB / 253.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.12e-05/0.01002, allocations: 88.31 kB / 253.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.01009, allocations: 30.28 kB / 253.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.01021, allocations: 87.3 kB / 253.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01021, allocations: 4 kB / 253.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of Templates: time 0.004817/0.01502, allocations: 3.195 MB / 257.1 MB, free: 1.363 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.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.4420165000483394]