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.001432/0.001432, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001677/0.001677, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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.528/1.528, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001933/0.001933, allocations: 67.83 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 53.31 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003959/0.1323, allocations: 2.236 MB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1337, allocations: 0.6122 MB / 430.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1338, allocations: 11.94 kB / 430.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.134, allocations: 27.61 kB / 430.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1343, allocations: 83.33 kB / 430.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1346, allocations: 67.86 kB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.135, allocations: 271.1 kB / 431.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1351, allocations: 60.72 kB / 431.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1354, allocations: 119.4 kB / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1356, allocations: 147.2 kB / 431.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1357, allocations: 28 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.1357, allocations: 23.94 kB / 431.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.1358, allocations: 63.69 kB / 431.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1359, allocations: 131.1 kB / 431.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1363, allocations: 258.7 kB / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1363, allocations: 0 / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1363, allocations: 0 / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1363, allocations: 0 / 431.9 MB, free: 384 kB / 350.1 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.001236/0.1375, allocations: 0.6228 MB / 432.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1376, allocations: 12.03 kB / 432.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1376, allocations: 40.69 kB / 432.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.1381, allocations: 320.6 kB / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1381, allocations: 12.41 kB / 432.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.1381, allocations: 12 kB / 433 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.1388, allocations: 373.1 kB / 433.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1389, allocations: 0 / 433.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1389, allocations: 8 kB / 433.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1389, allocations: 7.938 kB / 433.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.1391, allocations: 83.95 kB / 433.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.1399, allocations: 0.5249 MB / 433.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.1407, allocations: 310.1 kB / 434.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1409, allocations: 122.6 kB / 434.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/0.1409, allocations: 19.91 kB / 434.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.141, allocations: 34.56 kB / 434.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.141, allocations: 0 / 434.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002676/0.1436, allocations: 1.352 MB / 435.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.1438, allocations: 130.8 kB / 435.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.1442, allocations: 332.6 kB / 436.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1442, allocations: 30.36 kB / 436.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1443, allocations: 145.1 kB / 436.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1444, allocations: 51.67 kB / 436.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1445, allocations: 78.09 kB / 436.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1447, allocations: 346.8 kB / 436.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1449, allocations: 68.84 kB / 436.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.1454, allocations: 322.7 kB / 437.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.1459, allocations: 413 kB / 437.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1459, allocations: 3.938 kB / 437.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006703/0.1466, allocations: 409.7 kB / 438 MB, free: 9.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1466, allocations: 12.03 kB / 438.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1466, allocations: 8 kB / 438.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.1467, allocations: 12 kB / 438.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.147, allocations: 103.8 kB / 438.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.147, allocations: 11.94 kB / 438.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1472, allocations: 23.89 kB / 438.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.1472, allocations: 27.98 kB / 438.2 MB, free: 9.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.0001981/0.1474, allocations: 169.6 kB / 438.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005264/0.148, allocations: 300.8 kB / 438.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/0.1487, allocations: 379.5 kB / 439.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.1487, allocations: 4 kB / 439.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1487, allocations: 0 / 439.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1487, allocations: 4 kB / 439.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.1491, allocations: 329.3 kB / 439.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1491, allocations: 0 / 439.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.1497, allocations: 131.8 kB / 439.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1497, allocations: 0 / 439.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.1498, allocations: 8 kB / 439.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1498, allocations: 4 kB / 439.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1498, allocations: 0 / 439.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1509, allocations: 0.715 MB / 440.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.151, allocations: 124.8 kB / 440.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.151, allocations: 12 kB / 440.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1513, allocations: 8 kB / 440.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1514, allocations: 11.98 kB / 440.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.1514, allocations: 8 kB / 440.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.1517, allocations: 243.1 kB / 440.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1517, allocations: 0 / 440.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.1522, allocations: 64 kB / 440.7 MB, free: 6.883 MB / 366.1 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 (45): * Single equations (assignments): 45 * 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.0001739/0.1523, allocations: 118.3 kB / 440.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.153, allocations: 297.6 kB / 441.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.153, allocations: 0 / 441.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.1531, allocations: 27.92 kB / 441.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.1539, allocations: 196.4 kB / 441.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1556, allocations: 0.7771 MB / 442.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.1561, allocations: 0.8112 MB / 442.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1562, allocations: 27.44 kB / 443 MB, free: 4.578 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1562, allocations: 0 / 443 MB, free: 4.578 MB / 366.1 MB Notification: Performance of Templates: time 0.00741/0.1636, allocations: 3.977 MB / 446.9 MB, free: 0.5977 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.633542526978999]