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.001524/0.001524, allocations: 83.08 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001523/0.001523, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.489/1.489, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 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.954e-06/1.954e-06, allocations: 1.406 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.488e-05, allocations: 4.953 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00305/0.003075, allocations: 1.988 MB / 327 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004262, allocations: 0.5535 MB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004375, allocations: 1.219 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.0045, allocations: 27.95 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.004803, allocations: 76.12 kB / 327.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.005018, allocations: 55.92 kB / 327.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.005364, allocations: 270 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.005492, allocations: 33.55 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.005785, allocations: 159.7 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.005976, allocations: 98.27 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.006013, allocations: 22.12 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.006047, allocations: 20.94 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.00615, allocations: 65.34 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.006273, allocations: 78.84 kB / 328.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.006652, allocations: 229.3 kB / 328.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006655, allocations: 0 / 328.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006656, allocations: 0 / 328.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006662, allocations: 1.156 kB / 328.7 MB, free: 14.22 MB / 302.1 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.001257/0.007919, allocations: 0.5257 MB / 329.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.007965, allocations: 13.8 kB / 329.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.008054, allocations: 34.72 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.008469, allocations: 256.9 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.00849, allocations: 9.438 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.008529, allocations: 16.56 kB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.008815, allocations: 131 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.008825, allocations: 0 / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.00885, allocations: 5.5 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.008856, allocations: 2.562 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.009056, allocations: 81.19 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.009894, allocations: 437 kB / 330.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.01046, allocations: 168 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.01062, allocations: 62.48 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01065, allocations: 2.156 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.01069, allocations: 41.64 kB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.01069, allocations: 0 / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001848/0.01254, allocations: 0.5901 MB / 331 MB, free: 12.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.01261, allocations: 53.88 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.01315, allocations: 334 kB / 331.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.01319, allocations: 33.64 kB / 331.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01335, allocations: 158.7 kB / 331.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.01344, allocations: 66.92 kB / 331.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.01353, allocations: 33.75 kB / 331.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.01382, allocations: 345.8 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.01398, allocations: 59.53 kB / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01413, allocations: 59.84 kB / 332.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.0145, allocations: 151.7 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01451, allocations: 0 / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004387/0.01494, allocations: 216 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01496, allocations: 4.594 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01497, allocations: 1.219 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01499, allocations: 1.25 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.0153, allocations: 56.33 kB / 332.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01531, allocations: 1.219 kB / 332.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.01549, allocations: 8.781 kB / 332.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.01551, allocations: 11.45 kB / 332.6 MB, free: 11.46 MB / 302.1 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.0001838/0.01569, allocations: 135.2 kB / 332.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.01577, allocations: 29.12 kB / 332.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.0163, allocations: 218.2 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01631, allocations: 10.03 kB / 333 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01631, allocations: 1.375 kB / 333 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.01632, allocations: 3.984 kB / 333 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.01667, allocations: 220.7 kB / 333.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01668, allocations: 1.125 kB / 333.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.01705, allocations: 63.52 kB / 333.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01705, allocations: 1.281 kB / 333.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.01708, allocations: 6.453 kB / 333.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01708, allocations: 0 / 333.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01708, allocations: 1.094 kB / 333.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.01771, allocations: 399.5 kB / 333.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.01778, allocations: 32.08 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.01782, allocations: 5.438 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.01803, allocations: 11.08 kB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.01808, allocations: 21.58 kB / 333.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.0181, allocations: 6.594 kB / 333.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.01837, allocations: 245.2 kB / 334 MB, free: 10.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01837, allocations: 0 / 334 MB, free: 10.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.01867, allocations: 46.38 kB / 334 MB, free: 10.47 MB / 302.1 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.0001628/0.01883, allocations: 105.2 kB / 334.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.01924, allocations: 155.1 kB / 334.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01925, allocations: 0 / 334.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.01944, allocations: 84.22 kB / 334.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.01985, allocations: 40.64 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.02129, allocations: 0.6201 MB / 335 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.02145, allocations: 154.8 kB / 335.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.02156, allocations: 33.33 kB / 335.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.02166, allocations: 22.94 kB / 335.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02166, allocations: 0 / 335.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of Templates: time 0.007333/0.02899, allocations: 2.925 MB / 338.2 MB, free: 7.703 MB / 302.1 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.433594558387995]