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.001519/0.001519, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001074/0.001074, allocations: 159.1 kB / 24.99 MB, free: 8.801 MB / 18.57 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.9908/0.9908, allocations: 177 MB / 205.2 MB, free: 5.418 MB / 186.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 2.234e-06/2.234e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.417e-05, allocations: 2.312 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004181/0.004215, allocations: 2.075 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005598, allocations: 0.5767 MB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.005799, allocations: 4 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.005948, allocations: 23.67 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.006337, allocations: 75.42 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.00662, allocations: 55.84 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000435/0.007055, allocations: 267 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.007233, allocations: 48.89 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.007654, allocations: 147.5 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.007905, allocations: 107.5 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.007967, allocations: 20 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.008008, allocations: 20 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.008111, allocations: 59.69 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.008215, allocations: 75.69 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.008521, allocations: 155.2 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.008525, allocations: 0 / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008526, allocations: 4 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.008534, allocations: 4 kB / 276.7 MB, free: 13.99 MB / 266.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.001088/0.009622, allocations: 0.6278 MB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.009677, allocations: 11.98 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.009797, allocations: 44.73 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.01023, allocations: 261.2 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.01025, allocations: 8.375 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.01029, allocations: 12.38 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.01053, allocations: 101.7 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01054, allocations: 3.938 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.01056, allocations: 8 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01057, allocations: 4 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.01069, allocations: 39.97 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.01158, allocations: 463.2 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.01208, allocations: 135.2 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.01218, allocations: 47.66 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.0122, allocations: 4 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.01223, allocations: 33.39 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.01223, allocations: 0 / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001413/0.01364, allocations: 492.6 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.01368, allocations: 55.41 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.01409, allocations: 366.2 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.01411, allocations: 25.7 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01423, allocations: 207.1 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.01431, allocations: 63.42 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.01439, allocations: 43.36 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01457, allocations: 0.5118 MB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.01466, allocations: 23.98 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.01475, allocations: 27.98 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.01495, allocations: 90.98 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01495, allocations: 0 / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003317/0.01528, allocations: 165.4 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.0153, allocations: 8 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01531, allocations: 0 / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01533, allocations: 0 / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.0156, allocations: 55.91 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01561, allocations: 4 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01574, allocations: 4 kB / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01576, allocations: 7.984 kB / 280.6 MB, free: 9.855 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.0001238/0.01588, allocations: 176.5 kB / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.01595, allocations: 31.81 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.0163, allocations: 160.6 kB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01631, allocations: 4 kB / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01631, allocations: 0 / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01632, allocations: 0 / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.01663, allocations: 224.5 kB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01664, allocations: 0 / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.01698, allocations: 63.89 kB / 281.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.01699, allocations: 0 / 281.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.01702, allocations: 12 kB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01702, allocations: 0 / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01702, allocations: 0 / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.01755, allocations: 358.3 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.01762, allocations: 35.73 kB / 281.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.01767, allocations: 8 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.01785, allocations: 4 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.01791, allocations: 15.91 kB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.01793, allocations: 8 kB / 281.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.0182, allocations: 262.9 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.0182, allocations: 4 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000326/0.01852, allocations: 40 kB / 282 MB, free: 8.41 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.0001457/0.01867, allocations: 107.2 kB / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.01895, allocations: 103.4 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01895, allocations: 4 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01907, allocations: 63.59 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01944, allocations: 34.2 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.02071, allocations: 0.6169 MB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.02079, allocations: 84.31 kB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.02089, allocations: 30.28 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.02099, allocations: 28.48 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02099, allocations: 0 / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of Templates: time 0.006209/0.0272, allocations: 2.962 MB / 286 MB, free: 4.379 MB / 266.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 -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.929654353996739]