Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8748/0.8748, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.41e-07/7.41e-07, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.855e-06/8.596e-06, allocations: 5.922 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002094/0.002102, allocations: 2.164 MB / 271.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.002761, allocations: 0.5764 MB / 271.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.002837, allocations: 4 kB / 271.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.7e-05/0.002894, allocations: 31.55 kB / 272 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.003041, allocations: 82.25 kB / 272 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.003173, allocations: 71.78 kB / 272.1 MB, free: 6.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.00336, allocations: 282.9 kB / 272.4 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.003443, allocations: 53.12 kB / 272.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.003574, allocations: 163.4 kB / 272.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.003672, allocations: 108.8 kB / 272.7 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.003697, allocations: 20 kB / 272.7 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.003719, allocations: 20 kB / 272.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.003762, allocations: 64.2 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.003815, allocations: 80.31 kB / 272.9 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003952, allocations: 171.2 kB / 273.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003953, allocations: 1.594 kB / 273.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.5e-07/0.003954, allocations: 0 / 273.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.315e-06/0.003956, allocations: 0 / 273.1 MB, free: 5.91 MB / 250.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.0005461/0.004502, allocations: 0.6388 MB / 273.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.132e-05/0.004523, allocations: 8.031 kB / 273.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.004568, allocations: 44.75 kB / 273.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.004752, allocations: 253.5 kB / 274 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.00476, allocations: 12.66 kB / 274 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.004779, allocations: 12.38 kB / 274 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.005035, allocations: 308 kB / 274.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-06/0.00504, allocations: 0 / 274.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005049, allocations: 7.938 kB / 274.3 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.005053, allocations: 8 kB / 274.3 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.005107, allocations: 39.95 kB / 274.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.005477, allocations: 470.7 kB / 274.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.005795, allocations: 257.2 kB / 275.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.005872, allocations: 87.77 kB / 275.2 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.005897, allocations: 8 kB / 275.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005917, allocations: 37.38 kB / 275.2 MB, free: 3.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.132e-06/0.005918, allocations: 0 / 275.2 MB, free: 3.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001039/0.006957, allocations: 0.7946 MB / 276 MB, free: 2.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.007034, allocations: 151.3 kB / 276.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.007209, allocations: 338.2 kB / 276.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.007227, allocations: 33.7 kB / 276.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.007308, allocations: 195.8 kB / 276.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.007342, allocations: 43.67 kB / 276.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.007381, allocations: 39.34 kB / 276.8 MB, free: 1.883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.007504, allocations: 0.5079 MB / 277.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.007524, allocations: 16.11 kB / 277.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.007579, allocations: 89.47 kB / 277.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.007667, allocations: 117.3 kB / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007668, allocations: 0 / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000135/0.007803, allocations: 149.3 kB / 277.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007814, allocations: 4 kB / 277.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007819, allocations: 4 kB / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.007828, allocations: 0 / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.007904, allocations: 39.86 kB / 277.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.007911, allocations: 7.984 kB / 277.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.007969, allocations: 11.95 kB / 277.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.007976, allocations: 4 kB / 277.7 MB, free: 0.8555 MB / 250.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 9.322e-05/0.008069, allocations: 176.7 kB / 277.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.008297, allocations: 209.1 kB / 278.1 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.008559, allocations: 272.1 kB / 278.4 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008562, allocations: 4 kB / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008565, allocations: 4.062 kB / 278.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.00857, allocations: 4 kB / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.008757, allocations: 169.2 kB / 278.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008759, allocations: 0 / 278.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.009041, allocations: 123.8 kB / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009044, allocations: 192 / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.00906, allocations: 15.98 kB / 278.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.009064, allocations: 7.938 kB / 278.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009065, allocations: 0 / 278.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.00926, allocations: 374.5 kB / 279.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.009297, allocations: 35.75 kB / 279.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.009331, allocations: 12 kB / 279.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.009444, allocations: 11.94 kB / 279.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.009466, allocations: 12.02 kB / 279.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.009479, allocations: 11.94 kB / 279.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.009588, allocations: 238.9 kB / 279.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009588, allocations: 0 / 279.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.009815, allocations: 47.94 kB / 279.4 MB, free: 15.08 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 7.668e-05/0.009892, allocations: 114.8 kB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01005, allocations: 128.2 kB / 279.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01005, allocations: 4.062 kB / 279.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.01007, allocations: 27.61 kB / 279.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.01047, allocations: 140.4 kB / 279.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.01135, allocations: 0.6438 MB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.01142, allocations: 121 kB / 280.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.01146, allocations: 26.97 kB / 280.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.01157, allocations: 106.2 kB / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01157, allocations: 0 / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Templates: time 0.005531/0.0171, allocations: 3.747 MB / 284.5 MB, free: 9.996 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6208960628136992]