Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001843/0.001843, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002083/0.002083, allocations: 160.8 kB / 24.27 MB, free: 156 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.526/1.526, allocations: 177 MB / 204.5 MB, free: 5.633 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.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,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.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,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.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.151e-05, allocations: 5.125 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004335/0.004367, allocations: 2.172 MB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.005727, allocations: 0.5886 MB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.005869, allocations: 8 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.006032, allocations: 27.61 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.006347, allocations: 79.36 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.00664, allocations: 71.77 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.00706, allocations: 286.9 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.007237, allocations: 53.12 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.007565, allocations: 159.5 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.007789, allocations: 115.6 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.007853, allocations: 20 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.007901, allocations: 24 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.008004, allocations: 71.61 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.008121, allocations: 75.69 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.00851, allocations: 259 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.008518, allocations: 3.984 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008519, allocations: 3.938 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.008526, allocations: 0 / 276.2 MB, free: 13.81 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001321/0.009847, allocations: 0.6511 MB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.009895, allocations: 11.98 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.01001, allocations: 56.69 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.01046, allocations: 260.8 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.01048, allocations: 8.656 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.01052, allocations: 16.38 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.01126, allocations: 368.2 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01127, allocations: 4 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.01129, allocations: 8 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.0113, allocations: 4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.0115, allocations: 75.91 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.01235, allocations: 0.545 MB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.01312, allocations: 325.2 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.01336, allocations: 129.3 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.01339, allocations: 4 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.01343, allocations: 41.39 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.01343, allocations: 3.938 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.002463/0.0159, allocations: 1.118 MB / 279.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.01603, allocations: 130.8 kB / 279.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/0.01673, allocations: 406.3 kB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.01676, allocations: 33.7 kB / 280.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01691, allocations: 195.8 kB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.01697, allocations: 43.69 kB / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.01705, allocations: 47.36 kB / 280.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.01734, allocations: 0.5157 MB / 281.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.01742, allocations: 27.98 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01758, allocations: 117.4 kB / 281.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01781, allocations: 145.4 kB / 281.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01781, allocations: 0 / 281.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003216/0.01814, allocations: 185.3 kB / 281.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01815, allocations: 8 kB / 281.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01816, allocations: 0 / 281.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.01818, allocations: 7.938 kB / 281.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01832, allocations: 35.92 kB / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01832, allocations: 0.6562 kB / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.01846, allocations: 11.95 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01847, allocations: 8 kB / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001942/0.01866, allocations: 192.7 kB / 281.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/0.01916, allocations: 270.6 kB / 282.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.01986, allocations: 340.1 kB / 282.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.01987, allocations: 11.88 kB / 282.5 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.01988, allocations: 4 kB / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01988, allocations: 0 / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.02024, allocations: 220.5 kB / 282.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02025, allocations: 3.938 kB / 282.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.02084, allocations: 128 kB / 282.8 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.02084, allocations: 4 kB / 282.8 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.02088, allocations: 12 kB / 282.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.02089, allocations: 4 kB / 282.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02089, allocations: 3.938 kB / 282.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.02206, allocations: 0.7296 MB / 283.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.02214, allocations: 43.69 kB / 283.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.02219, allocations: 11.98 kB / 283.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.02245, allocations: 15.94 kB / 283.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.0225, allocations: 7.922 kB / 283.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.02252, allocations: 20.03 kB / 283.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.02285, allocations: 287 kB / 284 MB, free: 5.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02285, allocations: 0 / 284 MB, free: 5.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.02319, allocations: 52 kB / 284 MB, free: 5.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001504/0.02335, allocations: 107.2 kB / 284.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.02378, allocations: 186.5 kB / 284.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02379, allocations: 448 / 284.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.02386, allocations: 31.69 kB / 284.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.02461, allocations: 180.4 kB / 284.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.02597, allocations: 0.679 MB / 285.2 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.02619, allocations: 201.6 kB / 285.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.02627, allocations: 26.97 kB / 285.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.02638, allocations: 36.48 kB / 285.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02638, allocations: 0 / 285.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of Templates: time 0.008748/0.03513, allocations: 3.534 MB / 289 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.57674654701259]