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.001138/0.001138, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001133/0.001133, allocations: 154.9 kB / 24.98 MB, free: 8.223 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 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.617 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.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.76e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003366/0.003394, allocations: 2.201 MB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.004304, allocations: 0.5963 MB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.004456, allocations: 4 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.004574, allocations: 27.61 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.004813, allocations: 83.41 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.005052, allocations: 71.77 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.005302, allocations: 283 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005428, allocations: 49.12 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.005672, allocations: 163.4 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005793, allocations: 119.5 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.005823, allocations: 24 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.005847, allocations: 24 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.005911, allocations: 63.69 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.005978, allocations: 79.64 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.006166, allocations: 179.1 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.00617, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006171, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006175, allocations: 4 kB / 276.9 MB, free: 13.81 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.0007097/0.006885, allocations: 0.6397 MB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006923, allocations: 11.98 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.006995, allocations: 52.7 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.007278, allocations: 257.5 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.00729, allocations: 16.66 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.00732, allocations: 12.38 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.007716, allocations: 312.3 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.007724, allocations: 0 / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.007739, allocations: 12 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007747, allocations: 7.938 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.007836, allocations: 47.95 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.00833, allocations: 0.506 MB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.008734, allocations: 260.4 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.008853, allocations: 99.17 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.008877, allocations: 12.45 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.008904, allocations: 45.39 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.008906, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001359/0.01026, allocations: 0.9671 MB / 280.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.01035, allocations: 138.7 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.01059, allocations: 358.3 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01061, allocations: 33.83 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.01069, allocations: 195.8 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.01073, allocations: 35.73 kB / 280.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.01078, allocations: 39.36 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.0109, allocations: 0.5079 MB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.01094, allocations: 15.98 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.01101, allocations: 94.17 kB / 281.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.01111, allocations: 125.4 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01111, allocations: 0 / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001734/0.01128, allocations: 157.3 kB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.0113, allocations: 4 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01131, allocations: 4 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01132, allocations: 4.156 kB / 281.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.0114, allocations: 43.92 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01141, allocations: 4 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.01148, allocations: 11.89 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.01148, allocations: 4 kB / 281.9 MB, free: 8.434 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.599e-05/0.01158, allocations: 172.6 kB / 282.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.01187, allocations: 234.5 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.0122, allocations: 292.1 kB / 282.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01221, allocations: 12.12 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01221, allocations: 128 / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01222, allocations: 7.969 kB / 282.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01243, allocations: 200.5 kB / 282.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01243, allocations: 4 kB / 282.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.01274, allocations: 119.8 kB / 282.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01274, allocations: 4 kB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01276, allocations: 8 kB / 282.9 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01276, allocations: 7.938 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01277, allocations: 11.92 kB / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.01331, allocations: 0.6124 MB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.01335, allocations: 47.64 kB / 283.6 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.01339, allocations: 8 kB / 283.6 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01351, allocations: 15.98 kB / 283.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.01354, allocations: 11.81 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.01356, allocations: 15.98 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.01374, allocations: 259 kB / 283.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01374, allocations: 0 / 283.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01398, allocations: 52 kB / 284 MB, free: 6.281 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 0.0001026/0.01408, allocations: 110.8 kB / 284.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.0143, allocations: 134.5 kB / 284.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0143, allocations: 0 / 284.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.01433, allocations: 27.67 kB / 284.2 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.01482, allocations: 152.9 kB / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.01588, allocations: 0.6476 MB / 285 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.732e-05/0.01596, allocations: 121.1 kB / 285.2 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.01601, allocations: 30.97 kB / 285.2 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.01608, allocations: 24.5 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01608, allocations: 0 / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Templates: time 0.005684/0.02176, allocations: 3.539 MB / 288.7 MB, free: 1.445 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.905536524951458]