Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.001642/0.001642, allocations: 115.5 kB / 19.18 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.002884/0.002884, allocations: 210.4 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.567/1.567, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 374.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.12, allocations: 53.31 MB / 427.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004014/0.1241, allocations: 2.103 MB / 430 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1257, allocations: 0.5807 MB / 430.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.126, allocations: 4 kB / 430.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1261, allocations: 23.67 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.1266, allocations: 79.41 kB / 430.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1269, allocations: 51.92 kB / 430.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.1274, allocations: 263 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1275, allocations: 44.7 kB / 431 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.1278, allocations: 111.4 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.1281, allocations: 135.2 kB / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.1282, allocations: 20 kB / 431.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.1283, allocations: 20 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1284, allocations: 63.69 kB / 431.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1286, allocations: 119.2 kB / 431.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.129, allocations: 238.7 kB / 431.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.129, allocations: 4 kB / 431.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.129, allocations: 4 kB / 431.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.129, allocations: 0 / 431.7 MB, free: 0.6016 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00162/0.1306, allocations: 0.6057 MB / 432.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1307, allocations: 8.031 kB / 432.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1308, allocations: 32.75 kB / 432.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.1313, allocations: 316.3 kB / 432.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1314, allocations: 12.12 kB / 432.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.1314, allocations: 12 kB / 432.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1317, allocations: 121.6 kB / 432.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1317, allocations: 0 / 432.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1318, allocations: 4 kB / 432.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1318, allocations: 4 kB / 432.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.132, allocations: 91.81 kB / 432.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.133, allocations: 0.5159 MB / 433.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.1336, allocations: 178.8 kB / 433.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1338, allocations: 52.84 kB / 433.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.1338, allocations: 15.92 kB / 433.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1338, allocations: 34.5 kB / 433.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1338, allocations: 0 / 433.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001824/0.1357, allocations: 0.6732 MB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1357, allocations: 51.41 kB / 434.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.1362, allocations: 328.6 kB / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1362, allocations: 33.7 kB / 434.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1364, allocations: 160.3 kB / 434.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.1365, allocations: 63.47 kB / 435 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.1365, allocations: 37.7 kB / 435 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.1368, allocations: 342.8 kB / 435.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1369, allocations: 59.91 kB / 435.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1371, allocations: 63.97 kB / 435.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.1374, allocations: 144.1 kB / 435.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1374, allocations: 0 / 435.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000474/0.1379, allocations: 217.4 kB / 435.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1379, allocations: 4 kB / 435.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1379, allocations: 0 / 435.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1379, allocations: 8 kB / 435.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.1383, allocations: 55.91 kB / 435.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.1383, allocations: 3.938 kB / 435.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1385, allocations: 15.92 kB / 435.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1385, allocations: 4 kB / 435.9 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001773/0.1387, allocations: 129.8 kB / 436 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1387, allocations: 27.81 kB / 436.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1392, allocations: 228.4 kB / 436.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1392, allocations: 4 kB / 436.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1393, allocations: 3.938 kB / 436.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1393, allocations: 0 / 436.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.1397, allocations: 317.4 kB / 436.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1397, allocations: 0 / 436.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.1401, allocations: 59.95 kB / 436.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.1401, allocations: 4 kB / 436.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1402, allocations: 0 / 436.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.1402, allocations: 4 kB / 436.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1402, allocations: 7.938 kB / 436.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.1409, allocations: 393.2 kB / 437.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.141, allocations: 113 kB / 437.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.141, allocations: 8 kB / 437.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.1412, allocations: 8 kB / 437.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.1413, allocations: 19.91 kB / 437.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1413, allocations: 8 kB / 437.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.1416, allocations: 247.1 kB / 437.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1416, allocations: 0 / 437.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.1419, allocations: 40 kB / 437.5 MB, free: 10.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001706/0.1421, allocations: 111.1 kB / 437.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.1425, allocations: 143.9 kB / 437.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1425, allocations: 4 kB / 437.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1427, allocations: 83.91 kB / 437.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1431, allocations: 33.02 kB / 437.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1449, allocations: 0.7486 MB / 438.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.1454, allocations: 0.7597 MB / 439.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1455, allocations: 31.42 kB / 439.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1455, allocations: 3.938 kB / 439.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of Templates: time 0.007812/0.1533, allocations: 3.116 MB / 442.5 MB, free: 5.348 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.773013778962195]