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.001063/0.001063, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001104/0.001104, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.979/0.979, allocations: 177 MB / 205.2 MB, free: 5.047 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.382e-06/1.382e-06, allocations: 3.938 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.792e-05, allocations: 2.312 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002477/0.002495, allocations: 2.239 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.003367, allocations: 0.6157 MB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003473, allocations: 3.938 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.003585, allocations: 23.67 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.003807, allocations: 83.34 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.004015, allocations: 75.78 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.004251, allocations: 290.9 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004356, allocations: 54.88 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.00456, allocations: 167.4 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.004672, allocations: 107.6 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.004701, allocations: 20 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.004723, allocations: 20 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.004775, allocations: 67.61 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.004829, allocations: 75.69 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004989, allocations: 179.2 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.00499, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004991, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004995, allocations: 0 / 277.4 MB, free: 13.02 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.0005309/0.005526, allocations: 0.5111 MB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.005555, allocations: 11.98 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.005597, allocations: 28.92 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.005793, allocations: 218.7 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.005803, allocations: 12.66 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.005829, allocations: 24.31 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.006116, allocations: 286 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006123, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006134, allocations: 4 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.00614, allocations: 4 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.883e-05/0.006188, allocations: 35.92 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.006489, allocations: 305.1 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.006772, allocations: 207.5 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.00684, allocations: 74.69 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.006858, allocations: 7.859 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.006879, allocations: 38.56 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.006881, allocations: 0 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001309/0.00819, allocations: 0.834 MB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.008279, allocations: 138.7 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.008497, allocations: 271 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.008525, allocations: 33.7 kB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.008579, allocations: 121.7 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.008617, allocations: 35.72 kB / 280.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.008655, allocations: 33.7 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.00875, allocations: 342.8 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.008781, allocations: 8 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.008844, allocations: 70.78 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.008946, allocations: 93.59 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008948, allocations: 0 / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001612/0.009109, allocations: 117.4 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.009122, allocations: 8 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009126, allocations: 0 / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.009141, allocations: 4 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.00926, allocations: 40.14 kB / 281.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.009266, allocations: 3.938 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.009366, allocations: 19.89 kB / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009376, allocations: 4 kB / 281.3 MB, free: 8.816 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.923e-05/0.009475, allocations: 124.6 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.009733, allocations: 170.7 kB / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.01003, allocations: 220.9 kB / 281.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01004, allocations: 8 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01004, allocations: 7.938 kB / 281.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01005, allocations: 4.297 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01029, allocations: 141.8 kB / 282 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.0103, allocations: 3.984 kB / 282 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.01083, allocations: 156.1 kB / 282.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01084, allocations: 4 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.01086, allocations: 8 kB / 282.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01086, allocations: 4 kB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01086, allocations: 0 / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.01107, allocations: 262.7 kB / 282.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.01112, allocations: 35.7 kB / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.01117, allocations: 11.98 kB / 282.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.01133, allocations: 12 kB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.01136, allocations: 3.938 kB / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.01138, allocations: 15.98 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01149, allocations: 112.6 kB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01149, allocations: 4.031 kB / 282.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.0118, allocations: 48 kB / 282.6 MB, free: 7.418 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 9.056e-05/0.01189, allocations: 84.36 kB / 282.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01208, allocations: 120.2 kB / 282.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01208, allocations: 0 / 282.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.01211, allocations: 16.86 kB / 282.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.01262, allocations: 143.7 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.01366, allocations: 0.6742 MB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.079e-05/0.01375, allocations: 117.1 kB / 283.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.033e-05/0.01382, allocations: 26.97 kB / 283.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01396, allocations: 91.36 kB / 283.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01396, allocations: 0 / 283.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of Templates: time 0.005331/0.01929, allocations: 3.726 MB / 287.6 MB, free: 2.41 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 -s gbode -gbm=radauIIA3 -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.554053827188909]