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.00135/0.00135, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.001504/0.001504, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.439/1.439, allocations: 177 MB / 204.1 MB, free: 9.148 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.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.413e-06/1.413e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.881e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003593/0.003622, allocations: 2.122 MB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004824, allocations: 0.6007 MB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004945, allocations: 3.156 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.005066, allocations: 27.66 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.005357, allocations: 79.98 kB / 327.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.005635, allocations: 77.47 kB / 327.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.005994, allocations: 286.6 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.006135, allocations: 50.38 kB / 328.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.006471, allocations: 170.6 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006661, allocations: 105.6 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.006711, allocations: 22.53 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.006754, allocations: 22.03 kB / 328.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.006847, allocations: 73.08 kB / 328.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.006956, allocations: 82.16 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.007319, allocations: 256.5 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007322, allocations: 1.125 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007323, allocations: 0 / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.007333, allocations: 0 / 329 MB, free: 14.04 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001141/0.008474, allocations: 0.5409 MB / 329.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.008534, allocations: 13.42 kB / 329.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.00861, allocations: 40.23 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.009026, allocations: 261.9 kB / 329.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.009042, allocations: 14.41 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.009086, allocations: 19.45 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.009773, allocations: 367.1 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.009783, allocations: 1.219 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.009802, allocations: 5.156 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.009809, allocations: 7.562 kB / 330.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.01003, allocations: 96.48 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.01072, allocations: 436 kB / 330.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.01146, allocations: 307.3 kB / 331 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.01169, allocations: 128 kB / 331.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.01172, allocations: 7.938 kB / 331.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.01175, allocations: 42.16 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.01176, allocations: 0 / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.002429/0.01418, allocations: 1.143 MB / 332.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.01431, allocations: 140.9 kB / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.01471, allocations: 327 kB / 332.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.01475, allocations: 32.02 kB / 332.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01487, allocations: 144 kB / 333 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.01491, allocations: 41.45 kB / 333 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.01497, allocations: 31.97 kB / 333 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.01514, allocations: 338.7 kB / 333.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.824e-05/0.01524, allocations: 40.44 kB / 333.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01537, allocations: 93.72 kB / 333.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01558, allocations: 133.6 kB / 333.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01559, allocations: 0 / 333.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000326/0.01591, allocations: 189.9 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01593, allocations: 5.906 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01593, allocations: 2 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01595, allocations: 10.61 kB / 333.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01609, allocations: 34.27 kB / 333.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01609, allocations: 2.531 kB / 333.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01624, allocations: 21.02 kB / 333.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.01626, allocations: 10.3 kB / 333.9 MB, free: 10.44 MB / 302.1 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.0001919/0.01646, allocations: 145.9 kB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.01695, allocations: 294.7 kB / 334.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.01763, allocations: 366.2 kB / 334.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.01764, allocations: 9.562 kB / 334.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01764, allocations: 1 kB / 334.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.01765, allocations: 5.109 kB / 334.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.01798, allocations: 190 kB / 334.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01798, allocations: 1.406 kB / 334.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.01855, allocations: 126.4 kB / 335 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01855, allocations: 7.031 kB / 335 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.01859, allocations: 14.02 kB / 335 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01859, allocations: 3.375 kB / 335 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.01859, allocations: 3.938 kB / 335 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.01962, allocations: 0.6878 MB / 335.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.01969, allocations: 41.91 kB / 335.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.01975, allocations: 13.06 kB / 335.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.02002, allocations: 16.95 kB / 335.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.02005, allocations: 6.938 kB / 335.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.02008, allocations: 19.55 kB / 335.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.02035, allocations: 243.3 kB / 336.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02035, allocations: 0 / 336.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.0207, allocations: 49.81 kB / 336.1 MB, free: 9.004 MB / 302.1 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.0001812/0.02088, allocations: 107.7 kB / 336.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.0213, allocations: 188.8 kB / 336.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02131, allocations: 4.062 kB / 336.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.02138, allocations: 31.8 kB / 336.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.02214, allocations: 187.9 kB / 336.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.02342, allocations: 0.6781 MB / 337.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.02362, allocations: 197.7 kB / 337.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.02369, allocations: 27.97 kB / 337.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.02379, allocations: 40.42 kB / 337.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02379, allocations: 0 / 337.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of Templates: time 0.008325/0.03212, allocations: 3.489 MB / 341.1 MB, free: 4.578 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] 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.351082399487495]