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.0009106/0.0009106, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0009382/0.0009382, allocations: 146.5 kB / 24.9 MB, free: 8.727 MB / 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 0.9171/0.9171, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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.383e-06/1.383e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.765e-05, allocations: 6.25 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002439/0.002457, allocations: 2.034 MB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.003179, allocations: 0.561 MB / 271.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.00327, allocations: 7.938 kB / 271.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003372, allocations: 23.67 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.003587, allocations: 83.34 kB / 271.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.003744, allocations: 63.78 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.003962, allocations: 267 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.004053, allocations: 38.88 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.004202, allocations: 155.4 kB / 271.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004314, allocations: 99.61 kB / 271.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.004345, allocations: 20 kB / 271.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.004365, allocations: 16 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.004426, allocations: 59.62 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.004481, allocations: 75.69 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004631, allocations: 155.3 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004633, allocations: 0 / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004633, allocations: 0 / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.004636, allocations: 0 / 272.1 MB, free: 2.352 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.0005387/0.005175, allocations: 0.4913 MB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005205, allocations: 12.92 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.005247, allocations: 28.91 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.005437, allocations: 218.5 kB / 272.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.005446, allocations: 8.375 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.005473, allocations: 16.36 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005586, allocations: 97.73 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005593, allocations: 0 / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005602, allocations: 0 / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005608, allocations: 4 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.005653, allocations: 27.92 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.006046, allocations: 286.6 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.006279, allocations: 118.5 kB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.006322, allocations: 24.86 kB / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.006336, allocations: 0 / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.006359, allocations: 34.56 kB / 273.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.00636, allocations: 0 / 273.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007893/0.007149, allocations: 441 kB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.007178, allocations: 51.41 kB / 274 MB, free: 388 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.007334, allocations: 275 kB / 274.2 MB, free: 96 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.007347, allocations: 29.7 kB / 274.3 MB, free: 60 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.007406, allocations: 132.9 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.007449, allocations: 63.45 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.007491, allocations: 33.7 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.007578, allocations: 346.7 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.007607, allocations: 12 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.007648, allocations: 19.98 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.007734, allocations: 82.5 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007735, allocations: 0 / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001245/0.00786, allocations: 101.6 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.007873, allocations: 7.938 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007878, allocations: 4 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.007891, allocations: 7.938 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.008036, allocations: 59.91 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.00804, allocations: 3.984 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.008093, allocations: 7.953 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.008104, allocations: 8 kB / 275.1 MB, free: 15.16 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 7.42e-05/0.008178, allocations: 116.7 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.008209, allocations: 27.91 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.008369, allocations: 139.7 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008371, allocations: 0 / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.008373, allocations: 0 / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.008378, allocations: 3.984 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.008543, allocations: 149.8 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008545, allocations: 0 / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.008723, allocations: 55.95 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008726, allocations: 4 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.00874, allocations: 4 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.008743, allocations: 3.938 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008743, allocations: 4 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.008967, allocations: 254 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.009, allocations: 27.8 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.009024, allocations: 8 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.009097, allocations: 7.922 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.009125, allocations: 11.98 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.009132, allocations: 7.984 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.009213, allocations: 112.6 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009213, allocations: 0 / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000146/0.009359, allocations: 44 kB / 276.1 MB, free: 14.14 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 7.799e-05/0.009437, allocations: 92.36 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.009551, allocations: 68.83 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.009555, allocations: 4 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.009607, allocations: 53.41 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.009796, allocations: 39.91 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.0106, allocations: 0.5657 MB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.01065, allocations: 92.31 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.01072, allocations: 30.27 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01084, allocations: 87.3 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01084, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.005449/0.01629, allocations: 3.004 MB / 280.1 MB, free: 10.13 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] 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","",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.7869136412627995]