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.001004/0.001004, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.000976/0.000976, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9515/0.9515, allocations: 177 MB / 204.8 MB, free: 5.594 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.[0-9,]+.|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.[0-9,]+.|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.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.832e-05, allocations: 3.438 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.00232/0.002338, allocations: 2.209 MB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.003133, allocations: 0.6042 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.003224, allocations: 0 / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.655e-05/0.00331, allocations: 31.61 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.003498, allocations: 79.36 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003678, allocations: 79.7 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.00389, allocations: 283 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.00398, allocations: 53.12 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.004166, allocations: 167.5 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.004265, allocations: 103.6 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.004292, allocations: 20 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.004315, allocations: 20 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.004361, allocations: 63.62 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.004418, allocations: 83.69 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.004577, allocations: 175.1 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.004579, allocations: 0 / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004579, allocations: 0 / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004582, allocations: 0 / 276.8 MB, free: 13.5 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.0005929/0.005175, allocations: 0.6358 MB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.005203, allocations: 15.98 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.005256, allocations: 44.7 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.005482, allocations: 261.5 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.005491, allocations: 8.656 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.005514, allocations: 20.38 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.005859, allocations: 304.3 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005866, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005877, allocations: 4 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005885, allocations: 7.984 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.005961, allocations: 47.91 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.006347, allocations: 0.5099 MB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.006697, allocations: 257.2 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.006796, allocations: 99.17 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.006814, allocations: 7.859 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006834, allocations: 45.33 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.006836, allocations: 4 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001151/0.007987, allocations: 0.9632 MB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.008051, allocations: 134.8 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.008258, allocations: 342.3 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.008278, allocations: 37.7 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.008355, allocations: 199.9 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.008383, allocations: 31.73 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.008426, allocations: 43.36 kB / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.008542, allocations: 0.5079 MB / 281.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.008574, allocations: 23.92 kB / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.008634, allocations: 94.16 kB / 281.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.008728, allocations: 121.4 kB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.00873, allocations: 0.6562 kB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001529/0.008882, allocations: 149.3 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.008893, allocations: 8 kB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.008897, allocations: 0 / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.008907, allocations: 11.88 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.008983, allocations: 36.2 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.008988, allocations: 7.938 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.009046, allocations: 15.95 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.009055, allocations: 12 kB / 281.8 MB, free: 8.133 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 9.103e-05/0.009146, allocations: 172.5 kB / 282 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.009401, allocations: 230.5 kB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.009698, allocations: 292.1 kB / 282.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.009702, allocations: 7.938 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.009706, allocations: 8 kB / 282.5 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.009711, allocations: 3.984 kB / 282.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.009893, allocations: 204.5 kB / 282.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009894, allocations: 0 / 282.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.01017, allocations: 115.8 kB / 282.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01017, allocations: 4 kB / 282.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01019, allocations: 12 kB / 282.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.01019, allocations: 3.984 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.0102, allocations: 7.938 kB / 282.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.01072, allocations: 0.6163 MB / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.01076, allocations: 47.83 kB / 283.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.0108, allocations: 8 kB / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01091, allocations: 15.98 kB / 283.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.01094, allocations: 11.92 kB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.01095, allocations: 15.98 kB / 283.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.0111, allocations: 243 kB / 283.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0 / 283.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.01132, allocations: 48 kB / 283.8 MB, free: 6.008 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.813e-05/0.0114, allocations: 119.1 kB / 284 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01158, allocations: 138.5 kB / 284.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01159, allocations: 0 / 284.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.01161, allocations: 31.61 kB / 284.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.01201, allocations: 156.6 kB / 284.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.01283, allocations: 0.64 MB / 284.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.947e-05/0.0129, allocations: 121.1 kB / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.01295, allocations: 26.97 kB / 285.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.01301, allocations: 28.48 kB / 285.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01301, allocations: 0 / 285.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of Templates: time 0.00502/0.01803, allocations: 3.572 MB / 288.7 MB, free: 1.129 MB / 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","",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.607578483875841]