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.002023/0.002023, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002336/0.002336, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.476/1.476, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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.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_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.1.|filter.x.2.|filter.x.3.|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.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.358e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003689/0.003722, allocations: 1.997 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004958, allocations: 0.5455 MB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005083, allocations: 4 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.005283, allocations: 23.67 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.005714, allocations: 87.34 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.005995, allocations: 59.84 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.006466, allocations: 267 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.006643, allocations: 44.91 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.007011, allocations: 151.5 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.007244, allocations: 103.5 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.007297, allocations: 20 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.007367, allocations: 20 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.00749, allocations: 67.69 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.007633, allocations: 75.67 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.008049, allocations: 227.1 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.008053, allocations: 0 / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008054, allocations: 0 / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.00806, allocations: 0 / 275.9 MB, free: 14.11 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.001276/0.009336, allocations: 0.5357 MB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.009384, allocations: 11.98 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.009484, allocations: 40.75 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.009905, allocations: 265.6 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.009919, allocations: 8.375 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.009962, allocations: 12.38 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.01024, allocations: 129.7 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.01026, allocations: 0 / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.01028, allocations: 4 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.01029, allocations: 4 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.01048, allocations: 79.83 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.01132, allocations: 432.1 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.01184, allocations: 174.7 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.012, allocations: 60.83 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01202, allocations: 3.938 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.01205, allocations: 34.56 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01205, allocations: 0 / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001819/0.01387, allocations: 0.6021 MB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.01392, allocations: 51.41 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.01437, allocations: 328.6 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.0144, allocations: 33.7 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01453, allocations: 160.3 kB / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.0146, allocations: 63.42 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.01468, allocations: 37.7 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.01488, allocations: 342.8 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.01502, allocations: 55.98 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01516, allocations: 67.91 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.01547, allocations: 144.1 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01547, allocations: 0 / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004173/0.01588, allocations: 221.4 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.0159, allocations: 8 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.0159, allocations: 0 / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.01592, allocations: 4 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.01623, allocations: 63.89 kB / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01623, allocations: 0 / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.01638, allocations: 4 kB / 279.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.0164, allocations: 8 kB / 279.8 MB, free: 9.973 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.000148/0.01654, allocations: 137.8 kB / 279.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.01661, allocations: 35.75 kB / 280 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.0171, allocations: 216.6 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01711, allocations: 4 kB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01711, allocations: 0 / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01712, allocations: 0 / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.01745, allocations: 225.1 kB / 280.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01745, allocations: 0 / 280.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.01783, allocations: 63.89 kB / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01783, allocations: 0 / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.01786, allocations: 7.984 kB / 280.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01786, allocations: 4 kB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01786, allocations: 0 / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.01858, allocations: 402.4 kB / 280.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.01865, allocations: 31.86 kB / 280.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.01869, allocations: 0 / 280.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.01889, allocations: 11.98 kB / 280.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.01895, allocations: 7.984 kB / 280.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.01897, allocations: 11.98 kB / 280.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003143/0.01929, allocations: 247.1 kB / 281.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01929, allocations: 7.938 kB / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.01957, allocations: 40 kB / 281.2 MB, free: 8.488 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.0001524/0.01972, allocations: 111.1 kB / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.0201, allocations: 151.7 kB / 281.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0201, allocations: 0 / 281.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.02027, allocations: 83.89 kB / 281.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.02066, allocations: 41.27 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.02209, allocations: 0.6348 MB / 282.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.02226, allocations: 159.5 kB / 282.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02237, allocations: 34.27 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.02247, allocations: 20.5 kB / 282.5 MB, free: 7.203 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02247, allocations: 0 / 282.5 MB, free: 7.203 MB / 266.7 MB Notification: Performance of Templates: time 0.008105/0.03058, allocations: 2.952 MB / 285.4 MB, free: 4.316 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.412701238063164]