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.0008128/0.0008128, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003976/0.003976, allocations: 159.7 kB / 24.7 MB, free: 9.441 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.8801/0.8801, allocations: 177 MB / 204.9 MB, free: 5.73 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.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.894e-06/1.894e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.981e-05, allocations: 2.281 kB / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003858/0.003888, allocations: 2.123 MB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005184, allocations: 0.5926 MB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.005374, allocations: 0 / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.005526, allocations: 27.61 kB / 328.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.005874, allocations: 87.34 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.006212, allocations: 75.72 kB / 328.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.006599, allocations: 294.7 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.006779, allocations: 48.98 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.007172, allocations: 163.5 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.007393, allocations: 107.6 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.007452, allocations: 24 kB / 329.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.007487, allocations: 20 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.007573, allocations: 63.62 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.007667, allocations: 83.69 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.008007, allocations: 258.9 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.008012, allocations: 4 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.008014, allocations: 0 / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.008022, allocations: 0 / 329.7 MB, free: 11.29 MB / 298.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.001037/0.009059, allocations: 0.5437 MB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.009107, allocations: 11.98 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.009185, allocations: 36.7 kB / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.009606, allocations: 262 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.009623, allocations: 8.656 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.009666, allocations: 24.31 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.01033, allocations: 377.8 kB / 331 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01034, allocations: 0 / 331 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.01036, allocations: 4 kB / 331 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.01037, allocations: 4 kB / 331 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.01059, allocations: 91.95 kB / 331.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.01127, allocations: 441.1 kB / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.01191, allocations: 308.6 kB / 331.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.01214, allocations: 130.7 kB / 331.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.01217, allocations: 4 kB / 331.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.01219, allocations: 38.56 kB / 332 MB, free: 8.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.01219, allocations: 0 / 332 MB, free: 8.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002196/0.01439, allocations: 1.146 MB / 333.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.0145, allocations: 134.9 kB / 333.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.01486, allocations: 328.6 kB / 333.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.01489, allocations: 37.64 kB / 333.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.01499, allocations: 145.1 kB / 333.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.01503, allocations: 39.67 kB / 333.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.01509, allocations: 33.72 kB / 333.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01521, allocations: 342.8 kB / 334.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.0153, allocations: 35.92 kB / 334.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01541, allocations: 90.84 kB / 334.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.01559, allocations: 134.7 kB / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0156, allocations: 0 / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000289/0.01588, allocations: 181.5 kB / 334.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.01591, allocations: 8 kB / 334.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.01592, allocations: 4.641 kB / 334.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01594, allocations: 7.938 kB / 334.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01606, allocations: 39.92 kB / 334.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01607, allocations: 0 / 334.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01618, allocations: 15.89 kB / 334.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.0162, allocations: 8 kB / 334.7 MB, free: 6.012 MB / 298.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.0001416/0.01634, allocations: 149.7 kB / 334.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.0168, allocations: 290.6 kB / 335.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.0174, allocations: 364.1 kB / 335.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.01741, allocations: 7.938 kB / 335.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01741, allocations: 0 / 335.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.01742, allocations: 3.984 kB / 335.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.01772, allocations: 201.2 kB / 335.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01772, allocations: 128 / 335.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.01819, allocations: 123.8 kB / 335.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.01819, allocations: 3.938 kB / 335.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.01822, allocations: 19.98 kB / 335.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01823, allocations: 4 kB / 335.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01823, allocations: 3.938 kB / 335.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.01917, allocations: 0.6835 MB / 336.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.01923, allocations: 39.72 kB / 336.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.01928, allocations: 16 kB / 336.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.0195, allocations: 11.98 kB / 336.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.01954, allocations: 3.938 kB / 336.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.01957, allocations: 19.98 kB / 336.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002595/0.01983, allocations: 251.1 kB / 336.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01983, allocations: 0 / 336.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.02019, allocations: 48 kB / 336.9 MB, free: 3.727 MB / 298.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.000141/0.02033, allocations: 111.4 kB / 337 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.02074, allocations: 183.6 kB / 337.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02074, allocations: 4 kB / 337.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.0208, allocations: 36.3 kB / 337.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.02156, allocations: 192.4 kB / 337.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.02283, allocations: 0.7078 MB / 338.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.02301, allocations: 201.6 kB / 338.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.0231, allocations: 28.5 kB / 338.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/0.0231, allocations: 0 / 338.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of Templates: time 0.006441/0.02954, allocations: 3.719 MB / 342 MB, free: 14.49 MB / 314.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=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.510096191428602]